3 ms·
There isn't a difference, really. Inheritance is one way of implementing "units of measure".
by pcwalton 8y ago
There isn't a difference, really. Inheritance is one way of implementing "units of measure".
- pvg 8y agoThere are practical differences, though, such that it's often not implemented by subclassing string.