Re:Not Growing a Language
by zokier on Saturday April 03, 2021 @04:05PM
(#26684277)
But any class can inherit that Number, there is nothing enforcing that the subclass is particularly number-like. You can do just stuff like
and you get access to operator overloads. Only thing that makes this annoying is Javas lack of multiple inheritance, but that is pretty minor thing.
[ Parent
| on HN ]