3 ms·
AM has got it right. Inheritance is just not often useful, unless you have nothing else to organize with. Sometimes it is just the right thing, but not often e
by moloch-hai 4y ago
AM has got it right.
Inheritance is just not often useful, unless you have nothing else to organize with. Sometimes it is just the right thing, but not often enough to need to be built into the language. If your language is expressive, you can make an inheritance library and use it to make your base and derived types on those occasions when they actually are useful.