by sh1mmer · 16y ago · 0 comments
On the other hand, the mechanism of classical inheritance is well understood, and I do miss conveniences like __init__ and subclassing.
Crockford's beget patches on Object which I think is a terrible idea. The main reason why people create class libraries on top of JavaScript is the constructor problem (that setting up the "inheritance chain" triggers the constructor even though we only want the prototype).