tags:

views:

643

answers:

15

What's the best and most efficient book to learn JavaScript?

+12  A: 

JavaScript: The Definitive Guide. See also David Flanagan's web site as well as Douglas Crockford's videos and his essays JavaScript ... Thanks Rich.

Sinan Ünür
I think it's a great reference book, but I give it a "meh" on teaching you the language.
Nosredna
It's not a book, but I found Crockford's essays a great help: http://www.crockford.com/javascript/
Rich Seller
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.
Sinan Ünür
+9  A: 

JavaScript the good parts.

RichardOD
have 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
CrazyJugglerDrummer
My favorite JavaScript book, but for learning, go with "The Missing Manual" first.
Nosredna
i 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
Douglas
A: 

Hi, i would recommend "Head First JavaScript" it is nice to read, with good illustrations. I love the books from this publisher.

ArneRie
+2  A: 

after the basics, every Javascript developer must read this:
Douglas Crockford: JavaScript: The Good Parts

erenon
+1  A: 

JavaScript: The Good Parts

http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742

Booji Boy
+1  A: 

Object-Oriented JavaScript

Otávio Décio
+1 - a great book
Russ Cam
A: 

I'm a believer in Sinan's recommendation of JavaScript: The Definitive Guide for a good reference type book.

Previous SO Question

Another previous SO Question

chauncey
+3  A: 
Bob
This book got me started. I thought it wasn't overly technical or dry and gave some practical advice.
Zack Mulgrew
+5  A: 
Nosredna
+1 looks good! Just bought it :)
alex
A: 

Sams TEach yourself JavaScript Fourth Edition. Buy it really CHEAP here.

Eric
+1  A: 

I'd recommend Pro JavaScript Techniques: The Ultimate JavaScript book for the modern Web Developer by By John Resig, the author of jQuery framework.

Sasha Yanovets
A: 

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

CrazyJugglerDrummer
+1  A: 

Javascript is one of the hardest languages to learn.

Partly because of its working environment - it has to interact with the DOM and the browser - and partly because its a very oddball language - part script, part object oriented, part functional and it can be used in a huge range of styles.

Almost all of the intro books just treat Javascript as a simple procedural language - but to get the best from it you need to deal with it on a more sophisticated level.

I haven't found a single book that does the job but I'd seond the Cockford recomentation and I'd veto the Headfirst JavaScript suggestion - its a terrible book. Some reviews - with more being added

mikej
A: 

I like this one too much "OReilly.JavaScript.The.Definitive.Guide.5th.Edition.Aug.2006"

Amr ElGarhy