4 ms·
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
by rtpg 13y ago
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 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).