What's the best and most efficient book to learn JavaScript?
-
2If depends on how you learn. Some learn best by reading examples, some want to know the theory up front while some just like to dive in and try stuff out. On that basis, I'd say the question (or at least the answers) are subjective.– Colin MackayJul 16, 2009 at 19:34
-
2why do people insist on having "the best" in their title?– GeoJul 16, 2009 at 20:14
-
4Because we all deserve the best, Geo ;). To keep going with what Colin was saying, not only does how you learn matter, but your background and as well. There are some decent books that are good for designers who want to learn JavaScript, but those same books are atrocious for people with any programming background.– Justin JohnsonJul 17, 2009 at 2:17
-
see duplicate: stackoverflow.com/questions/74884/good-javascript-books– RayAug 26, 2009 at 20:34
-
best : Professional JavaScript for Web Developers, 3rd Edition– Melih AltıntaşFeb 22, 2015 at 0:15
14 Answers
Take a look at JavaScript: The Definitive Guide.
Also take a look at David Flanagan's web site as well as Douglas Crockford's videos and his essays on JavaScript.
-
I think it's a great reference book, but I give it a "meh" on teaching you the language.– NosrednaJul 16, 2009 at 19:37
-
1It's not a book, but I found Crockford's essays a great help: crockford.com/javascript Jul 16, 2009 at 19:45
-
I was always mystified by JavaScript (not that I am expert now) until I read Flanagan's book. I found Crockford's essays more useful than the "Good Parts" book. Jul 16, 2009 at 19:49
-
FYI: There is a 6th edition of Javascript: The definitive guide. Jul 31, 2011 at 15:43
-
1The only book Crockford himself recommends is
JavaScript: The Definitive Guide
byDavid Flanagan
on his website: crockford.com/javascript/javascript.html– nawfalJun 12, 2015 at 10:25
-
5have the book, it doesn't offer a complete intro though, so if you see a "bad part" somewhere, you might not know what it does. Its about 1/10 the size of the definitive guide, and only covers the language, not any interaction with the browser. great supplemental book though. :D Jul 16, 2009 at 19:36
-
My favorite JavaScript book, but for learning, go with "The Missing Manual" first.– NosrednaJul 16, 2009 at 19:39
-
1i read The Good Parts as my very first javascript book, and it helped me keep good practices in mind when reading other books, so I would actually recommend this as a first (but not only) JS book– DouglasJan 17, 2010 at 15:11
-
-
@GordonGustafson, The only book Crockford himself recommends is
JavaScript: The Definitive Guide
byDavid Flanagan
on his website: crockford.com/javascript/javascript.html– nawfalJun 12, 2015 at 10:21
I think I've read them all. Here's the dark sheep. This one came out of left field. I was surprised at how good it is.
JavaScript: The Missing Manual
The other books are great. But for actually learning the language, I think this one wins hands down.
after the basics, every Javascript developer must read this:
Douglas Crockford: JavaScript: The Good Parts
ppk on JavaScript was really great. His website is also filled with tons of useful information including lots on browser incompatibilities.
-
This book got me started. I thought it wasn't overly technical or dry and gave some practical advice. Jul 16, 2009 at 19:52
After you've tried out some of the books, read them through, make sure you try many things and ideas out on your own. The only way to really learn a language is to write programs in it. After you have a good understanding, answer some questions on SO. This can really help you learn stuff and have fun talking code with other people. An SO technique I use is to find a user with 20k + rep who has a lot of posts in the javascript tag, then look at some of their most upvoted javascript answers. Good luck! :D
i would recommend "Head First JavaScript" it is nice to read, with good illustrations. I love the books from this publisher.
I'd recommend Pro JavaScript Techniques: The Ultimate JavaScript book for the modern Web Developer by By John Resig, the author of jQuery framework.
JavaScript: The Good Parts
http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742
I'm a believer in Sinan's recommendation of JavaScript: The Definitive Guide for a good reference type book.
I like this one too much "OReilly.JavaScript.The.Definitive.Guide.5th.Edition.Aug.2006"