Hello! The Kotlin stdlib has `Duration`, in experi...
# science
l
Hello! The Kotlin stdlib has
Duration
, in experimental API. Did anyone think about continuing the six remaining measures from the SI (International System of units, aka. Système International)? I'd add
Distance
,
Mass
, etc, along with most common derived units, and functions to allow operations.
a
There was also a long discussion about how to do it properly and now we just need for someone to implement it properly. We probably won't be able to do custom unit algebra, but basic things like type-safe distances and velocities could be done.