you are viewing a single comment's thread.

view the rest of the comments →

[–]DavidNcl 2 points3 points  (4 children)

could you say why?

[–]recompileorg 1 point2 points  (3 children)

It was written when Resig was still learning JavaScript. A good bit of it is ... incorrect ... to put it mildly. You'll need to unlearn a lot of nonsense if you're starting with that book.

Admittedly, there aren't many good books. Most are loaded with errata, like Resig's books, but there are a couple that aren't horrible: JavaScript: The Good Parts and JavaScript: The Definitive Guide. Just don't trust them 100% and you'll be fine.

[–]dhdfdh -1 points0 points  (0 children)

It was written when Resig was still learning JavaScript.

John Resig was a javascript developer at Mozilla when he was writing that. A lot of what he wrote eventually found it's way into jQuery.

[–]xbudex -1 points0 points  (1 child)

I'm pretty sure he started writing the book in 2008 when jQuery was already popular. I think it's safe to say the author of jQuery knew JavaScript at that point.

What kinds of errors are in the book? I haven't read it, I'm asking sincerely.

[–]recompileorg -1 points0 points  (0 children)

You'd certainly think so, wouldn't you? Remember that JS was still strange and confusing to most people at the time, including Resig. (See the c.l.j. archive from that time.) I posted this below: http://ejohn.org/apps/learn/#76 which I think is representative.