How much memory would have to be added to every number? Could it be dynamically sized so it doesn't have a large impact on all the code out there with no units? But also grow to be big enough to capture the vast constellation of units and unit combinations out there?
I'm unsure simple tags are enough. What should the behavior of this be?
height = 5ft + 4.5in
Surely we ought to be able to add these values. But what should the resulting tag be? Should we be able to write it like this?
height = 5ft 4.5in
I was cheerleading this effort earlier and I still think it would be a massive contribution to needs of the engineering world to solve this problem at the language level. But boy howdy is it a tough but of a problem to crack.