News for hackers. Stuff that matters.
Re:Prototypes Are Not Classes by rtpg on Sunday January 19, 2014 @02:30PM (#7085599)
This sort of realization is the first step to realizing that you really shouldn't be writing javascript like java/C++. It makes things feel a lot nicer when you start really thinking in JS. I'd recommend checking out Crockford's "Crockford on Javascript" series for some good intro on thinking about Javascript (http://www.youtube.com/watch?v=JxAXlJEmNMg). Section 3 is where you really start talking about JS.

For a good counter-example, check out a lot of google's JS libs (in all their giant module goodness).

There are no comments on this comment yet.