4 ms·
I wouldn’t call that a strange feature, just a surprising consequence of an un-strange feature, namely that inheritance involves expressions and that classes ar
by raganwald 15y ago
I wouldn’t call that a strange feature, just a surprising consequence of an un-strange feature, namely that inheritance involves expressions and that classes are first-class entities.
Folks from certain other languages would be just as surprised to find out that you can alias classes by assigning them, return them from functions, and so on.