Stop Mixing Meters and Seconds: Nim Distinct Types as Zero-Cost Guards
Mixing meters and seconds compiles in most languages. Nim's distinct types catch that at compile time with no runtime overhead, forcing explicit conversions for semantically different values that share a representation.