News for hackers. Stuff that matters.
Re:Please put units in names by int_19h on Monday March 21, 2022 @05:01AM (#30751842)
> All that, and yet I don't see a single example of what would be "correct", or an example language that does it better.

F#, Rust, C++?..

> First of all, who is multiplying time.Duration against itself

Physicists do, every time they have to deal with acceleration - m/s^2.

Re:Please put units in names by WinterMount223 on Monday March 21, 2022 @07:11AM (#30752620)
You are right however physicists do not multiply duration x duration but time x time. Duration is discrete and time is infinitesimal.