prototypes as classes

0 views
Skip to first unread message

Sean Copenhaver

unread,
Jul 8, 2011, 1:32:29 PM7/8/11
to ColaCodeDojo
Another create link from this week's JavaScript Weekly issue:
https://mail.mozilla.org/pipermail/es-discuss/2011-July/015680.html

The summary he provides:

Unchained prototypes: Invaluable concept; would be obfuscated by class syntax.
Chained prototypes: Class literals might fix the syntax but the not the concept. JavaScript has better, easier tools already.

--
“The limits of language are the limits of one's world. “ -Ludwig von Wittgenstein

Sean Copenhaver

unread,
Jul 8, 2011, 1:41:20 PM7/8/11
to ColaCodeDojo
the follow up e-mail from Brenden Eich is good as well. Sounds like the proposed classes are really meant to be syntactic sugar for the prototypal inheritance patterns work now.
Reply all
Reply to author
Forward
0 new messages