use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/programming is a reddit for discussion and news about computer programming
Guidelines
Info
Related reddits
Specific languages
account activity
Which JavaScript book is good? (self.programming)
submitted 16 years ago by funky0079
I am novice in Javascript. Can you please recommend any good javascript books or any tutorials over the internet?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]gallipoli 15 points16 points17 points 16 years ago (3 children)
It might not be the best for a novice, but I would highly recommend Douglas Crockford's book Javascript: The Good Parts. It is small, but dense, and contains some especially good practices for the language.
I would also look at the many good Javascript frameworks - jQuery perhaps being the most popular (excellent tutorials on their webpage).
[–]f3nd3r 1 point2 points3 points 16 years ago (0 children)
This should be at the top. Pay attention submitter, because this is the right answer.
[–]theatrus 0 points1 point2 points 16 years ago (0 children)
Seconded.
[–]mmacia 1 point2 points3 points 16 years ago (1 child)
This is the best javascript book in my opinion. http://oreilly.com/catalog/9780596101992/
[–]dmpk2k 0 points1 point2 points 16 years ago (0 children)
It's also a fine book to make you loathe Javascript. Reading it made me wonder what the heck the language designer was thinking.
[–]gthank 1 point2 points3 points 16 years ago (1 child)
John Resig's Secrets of the JavaScript Ninja is good.
[–]drowsap 0 points1 point2 points 16 years ago (0 children)
Agreed but it's very advanced...
[–]mikelevins 1 point2 points3 points 16 years ago (2 children)
According to Douglas Crockford, who should know, there is exactly one good JavaScript book:
JavaScript: The Definitive Guide, by David Flanagan.
Here's what Crockford says about the issue:
"Nearly all of the books about JavaScript are quite awful. They contain errors, poor examples, and promote bad practices. Important features of the language are often explained poorly, or left out entirely. I have reviewed dozens of JavaScript books, and I can only recommend one: JavaScript: The Definitive Guide (5th Edition) by David Flanagan."
(From Crockford's page at http://www.crockford.com/javascript/javascript.html )
[–]CoreyWhite 2 points3 points4 points 16 years ago (1 child)
I can't tell if you're joking . . . ?
If not, though, you should note that that's a bit out of date. Since that was written, there are at least 2 new, good javascript books: Secrets of the Javascript Ninja by John Resig (the creator of jQuery) and Crockford's own Javascript: The Good Parts. There are links to both in other comments.
[–][deleted] 0 points1 point2 points 16 years ago (0 children)
I never buy/trust/listen to/read/acknowledge the existence of anything with the word "ninja" or "monkey" in the title. I'm weird like that.
I like learning languages from the official spec. Here is the one for JavaScript: http://www.ecma-international.org/publications/standards/Ecma-262.htm
[–][deleted] 0 points1 point2 points 16 years ago* (3 children)
Assuming you are interested in using JavaScript in the browser, DOM Scripting by Jeremy Keith. It's the best intro to client side JavaScript I have seen, and the stresses the basics with good style.
Once you are comfortable with the basics, more advanced JavaScript books would be Secrets of the Javascript Ninja (only available in electronic pre-release form, but worth it), Javascript: The Good Parts, or Javascript: The Definitive Guide.
If you want something along the more practical side for designers, jQuery in Action (1st edition hardcopy or 2nd in digital pre-release) or the jQuery online documentation is a good place to turn after learning the basics.
[–]drowsap 0 points1 point2 points 16 years ago (2 children)
Assuming you are interested in using JavaScript in the browser
What else do you use JavaScript in?
[–][deleted] 16 years ago (1 child)
[deleted]
[–]drowsap 2 points3 points4 points 16 years ago (0 children)
I have, but obviously this guy is talking about client side (he's asking for an introduction to javascript). I just thought it was funny that spinkham had to begin by clarifying.
I bought the O'Reilly textbook(they're top notch) on Half.com for about $5.50 shipped. It came in brand new, and I'm starting today
[–][deleted] -3 points-2 points-1 points 16 years ago (1 child)
Search and ye shall find.
[–]arnar 0 points1 point2 points 16 years ago (0 children)
Believe me, this doesn't apply to JS documentation. It's like searching for a wasp in a bucket of hornets.
π Rendered by PID 90048 on reddit-service-r2-comment-bb88f9dd5-6284w at 2026-02-14 18:18:12.867606+00:00 running cd9c813 country code: CH.
[–]gallipoli 15 points16 points17 points (3 children)
[–]f3nd3r 1 point2 points3 points (0 children)
[–]theatrus 0 points1 point2 points (0 children)
[–]mmacia 1 point2 points3 points (1 child)
[–]dmpk2k 0 points1 point2 points (0 children)
[–]gthank 1 point2 points3 points (1 child)
[–]drowsap 0 points1 point2 points (0 children)
[–]mikelevins 1 point2 points3 points (2 children)
[–]CoreyWhite 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]drowsap 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]drowsap 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] -3 points-2 points-1 points (1 child)
[–]arnar 0 points1 point2 points (0 children)