JavaScript: The Good Parts
stores: USA | UK | Canada | Kindle
Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative book scrapes away these bad features to reveal a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole-a subset you can use to create truly extensible and efficient code.

Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language-ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation. Unfortunately, these good ideas are mixed in with bad and downright awful ideas, like a programming model based on global variables.

When Java applets failed, JavaScript became the language of the Web by default, making its popularity almost completely independent of its qualities as a programming language. In JavaScript: The Good Parts, Crockford finally digs through the steaming pile of good intentions and blunders to give you a detailed look at all the genuinely elegant parts of JavaScript, including:

Syntax Objects Functions Inheritance Arrays Regular expressions Methods Style Beautiful features The real beauty? As you move ahead with the subset of JavaScript that this book presents, you'll also sidestep the need to unlearn all the bad parts. Of course, if you want to find out more about the bad parts and how to use them badly, simply consult any other JavaScript book.

With JavaScript: The Good Parts, you'll discover a beautiful, elegant, lightweight and highly expressive language that lets you create effective code, whether you're managing object libraries or just trying to get Aj...

Quoted by

Flubba StackOverflow Best resources to learn JavaScript
Chris Pietschmann StackOverflow Reserved Keywords in Javascript
Martin Clarke StackOverflow Hidden Features of JavaScript?
Alan Storm StackOverflow Good JavaScript Books?
Andreas Grech StackOverflow JavaScript: 'Disallow leading _ in identifiers' as an option in JSLint
Tom StackOverflow Best book to get intimately familiar with the .NET framework?
Gern Blandston StackOverflow Good JavaScript Books?
Kent Brewster StackOverflow The best of the non-obese technical books?
Tom StackOverflow Where can I find advanced javascript features explained?
Andreas Grech StackOverflow Javascript reference for offline browsing.
oberhamsi StackOverflow Good javascript reference
Don StackOverflow JavaScript: The Good Parts - example code
Abdullah Ahmed StackOverflow In what order do I increase my ASP.NET Knowledge?
jilles de wit StackOverflow Javascript: The Good Parts; why is lookahead not good?
TK StackOverflow What are good JavaScript OOP resources?
Dustin Getz StackOverflow generalist book for web2.0
soulBit StackOverflow Good Javascript (inc frameworks) and DOM books
Max StackOverflow Explanation on "JavaScript - the Good Parts" example (section 4.15)?
Toby Allen StackOverflow How should I integrate some javascript into a php application?
Stanley StackOverflow JavaScript global variables & self-invoking anonymous functions
Pace StackOverflow What is the single most influential book every programmer should read?
Flubba StackOverflow Who in the software world do you admire the most?
Magnar StackOverflow Tricky jQuery operation, not sure if I am using 'this' property either.
Scott Evernden StackOverflow Understanding JavaScript - Resource
Chris Pietschmann StackOverflow Is it a good idea to learn JavaScript before learning jQuery?
Russell Leggett StackOverflow Should I learn C before learning Javascript?
42 StackOverflow Required reading for a soon-to-be web developer
akauppi StackOverflow Javascript if typeof ='undefined' in try/catch space
Roalt StackOverflow Should web developers still learn JavaScript?
erenon StackOverflow What is Javascript missing?
erenon StackOverflow What's the best and most efficient book to learn JavaScript?
Booji Boy StackOverflow What's the best and most efficient book to learn JavaScript?
Mehmet Aras StackOverflow Common programming mistakes for JavaScript developers to avoid?
Chris Pietschmann StackOverflow Recommended books for web developers trying to bring it to the next level?
gunderson StackOverflow Can someone explain javascript prototypal inheritance
Eric Bréchemier StackOverflow intermediate in javascript looking for a book to learning object oriented programming
Chris Pebble StackOverflow I am having trouble learning javascript. Any suggestions?
Chuck StackOverflow What to learn before using a JavaScript library / framework?
Brian Ramsay StackOverflow Have you ever restricted yourself to using a subset of language features?
Raul Agrait StackOverflow What are good JavaScript OOP resources?
jbochi StackOverflow Prototype based language
jbochi StackOverflow How to become a good javascript coder
Chris S StackOverflow Good Example of JavaScript's Prototype-Based Inheritance
Alex Sexton StackOverflow What would be the jquery equivalent of 'Dive into python'?
jkyle StackOverflow Best Book/Resource to Improve my JavaScript.
danben StackOverflow Javascript object oriented programming books
Joel Etherton StackOverflow Advice on getting started in web design and web applications?
Jacob Relkin StackOverflow What are good resources for a backend developer wanting to learn client-side programming in the browser?
JonathanK StackOverflow Optimizing for Internet Explorer
Alex Sexton StackOverflow Where can I find advanced jQuery/JavaScript resources/tutorials?
JaredCacurak StackOverflow What is tail recursion optimization?
bron StackOverflow What should every JavaScript programmer know?
Bill the Lizard StackOverflow Is there a standout JavaScript and CSS tutorial or reference?
user StackOverflow What book/resources for large Javascript application development?
vitorbal StackOverflow Good Javascript (inc frameworks) and DOM books
kgrad StackOverflow What's the best reading to start JavaScript?
le dorfier StackOverflow What's the best reading to start JavaScript?
Jeff Sternal StackOverflow Has anybody managed to teach themself strong OOP skills through mainly developing with JavaScript?
nickyt StackOverflow calling a method from an event handler
Daniel Vassallo StackOverflow JavaScript braces on new line or not?
Jim Ferrans StackOverflow Why not Rhino for JVM apps?
Agusti-N StackOverflow Best JavaScript book for beginners
Broam StackOverflow Why am I finding Javascript/jQuery so difficult to get right?
Josh Smith StackOverflow Best javascript book (for an experienced coder)
Azhar StackOverflow Best javascript book (for an experienced coder)
Tyler Gillies StackOverflow Cannot understand node.js.
alex StackOverflow What book about JavaScript is today's equivalent of "Programming Windows", "Effective C++", "Design Patterns", or "Inside Windows NT"?
NAVEED StackOverflow getting started with javascript
JesDaw StackOverflow Are semicolons needed after an object literal assignment in JavaScript?
Tom StackOverflow Starting javascript development - what to do?
Lou Franco StackOverflow Should I learn/become proficient in Javascript?
Bill the Lizard StackOverflow Javascript === vs == : Does it matter which "equal" operator I use?
Adrian Schmidt StackOverflow jQuery $(document).ready() failing in IE6
Andreas Grech StackOverflow JavaScript Collection of one-line Useful Functions
Magnar StackOverflow Calling base method using javascript prototype
Ryan Riley StackOverflow javascript 2.0
Kevin StackOverflow Best book/resources to learn JavaScript so I can use jQuery and other libraries?
Andreas Grech StackOverflow What's the best Javascript tutorial?
ozan StackOverflow css, javascript -- where to start ?
steamer25 StackOverflow Learning jQuery and Getting Better at Javascript
Amit StackOverflow prototype based vs. class based inheritance
Dave W. Smith StackOverflow Alternatives to JavaScript
Russ Cam StackOverflow Good resources for learning JavaScript
meder StackOverflow jQuery framework internals
yonkeltron StackOverflow Central Management of Javascript
Mauricio Scheffer StackOverflow Should I use ScriptSharp
lo_fye StackOverflow Best book to learn web development for a professional developer?
mfx StackOverflow Diversify programming knowledge
Eric Bréchemier StackOverflow subclass.prototype = new superclass() vs. subclass = new superclass()
Rowlf StackOverflow PHP, then what? Oh, and also...OOP?
SWilk StackOverflow javascript function scope
Anthony Forloney StackOverflow Where do I find a good explanation of Javascript-ese
Matt Briggs StackOverflow Creating New Objects in JavaScript
jared StackOverflow How might a C# programmer approach writing a solution in javascript?
Daniel Lee StackOverflow What are the list of Patterns and Principals the programmer must/should know?
Alex JL StackOverflow How do I create a class in Javascript?
Yann Ramin StackOverflow question on web development lanaguages
galambalazs StackOverflow How to write high quality Javascript
galambalazs StackOverflow JavaScript design patterns
Daniel Vassallo StackOverflow why shouldn't we use ++ in javascript?
Alex Martelli StackOverflow Which is the most preferred language to start with dynamic languages
Daniel Vassallo StackOverflow What does the new keyword do under the hood?
Dale StackOverflow How can I truly master Javascript?
Tim StackOverflow Sproutcore or Cappuccino for Ruby-on-rails?
Daniel Vassallo StackOverflow What's going on in JavaScript when I use the "traditional" C-style function declaration?
meder StackOverflow Javascript for a programmer
Geuis StackOverflow How to use a JavaScript variable as a XHTML attributes value?
mechanical_fish HackerNews No discussion title available yet
jdunck HackerNews No discussion title available yet
kqr2 HackerNews No discussion title available yet
tptacek HackerNews No discussion title available yet
limist HackerNews No discussion title available yet
siculars HackerNews No discussion title available yet
S_A_P HackerNews No discussion title available yet