News for hackers. Stuff that matters.
Re:Ten Years of Git: An Interview with Linus Torvalds by S4M on Monday April 06, 2015 @05:28PM (#9330798)
And how about:

    meal_cost * tax
?

This one makes sense in the real world, so I suppose an advanced type system allows the programmer to specify what operations are legit or not across different types.

Re:Ten Years of Git: An Interview with Linus Torvalds by vilhelm_s on Monday April 06, 2015 @06:51PM (#9331162)
One could imagine systems for that, but units of measure doesn't do any customization of different operations. It's just unit checking for for arithmetic, like in high-school math.