News for hackers. Stuff that matters.
Re:JavaScript Prototypes Made Easy by justincormack on Sunday July 01, 2012 @06:12AM (#4184341)
It is not broken.

First read Steve Yegge's excellent article on the Universal Design Pattern to understand why prototypes are really useful and natural http://steve-yegge.blogspot.co.uk/2008/10/universal-design-p...

Then try to understand that prototypes are more natural in a dynamic language because they are completely dynamic. Classical inheritance is generally static.

It might help using a language that has less syntactic confusion than Javascript, Lua is the best known, or Self or Io.

There are no comments on this comment yet.