|
|
|
|
|
by firefoxman1
5235 days ago
|
|
Ah, you are right, it doesn't support prototypal inheritance. "When most people are approximating classical inheritance anyway, that's a big sign." Two things on that: 1. Most people (vast majority) learned OOP in a classical style, so that's what they're going to be comfortable with and will try to implement. It doesn't automatically mean classical style is superior. 2. You may want to check out the Klass library[1]. It provides a "classical interface to prototypal inheritance." So perhaps classical style is easier to use, but prototypal is better to have in the background. [1]https://github.com/ded/klass |
|