3 ms·
I've used both methods of inheritance. Prototypical inheritance in the IO Language is a beautiful thing. Not so much in Javascript. Class based inheritance i
by true_religion 15y ago
I've used both methods of inheritance.
Prototypical inheritance in the IO Language is a beautiful thing.
Not so much in Javascript.
Class based inheritance in Smalltalk and its dynamic mind-children Python and Ruby are similarly elegant and flexible. Not so much in C++ or Java.
The problem isn't with Prototypical inheritance, its with the implementation of it in Javascript.