Re:Old Code Gets Younger Every Year
by csnover on Tuesday June 09, 2020 @12:10AM
(#23463562)
The classes thing is even worse than what you are describing since it is the only way to create correctly functioning sub-types of built-ins (e.g. `Error`). So not only is it still syntactic sugar for prototype-based inheritance for most things, there are also these edge cases where there’s actually no fully functional prototype-based equivalent.
[ Parent
| on HN ]
There are no comments on this comment yet.