Classical inheritance is obsolete
eric at ericleads.com
Sun Jun 30 15:03:48 PDT 2013
"JS is a rich language that allows different styles of programming. Nothing
wrong with that."
What's wrong is that when we give people `class` and `extends`, books and
blog posts everywhere will begin to teach that this is how we do
default style will be a style that frequently leads developers down the
It is a pit of dispair, rather than a pit of success.
In contrast, we could give developers better sugar around mixins,
prototypes, and functional inheritance, giving them the same ease-of-use
that exists with the `class` keyword, without the dangers.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss