1. Technology

JavaScript: The Good Parts

About.com Rating 4.5 Star Rating


The Bottom Line

Useful information for any JavaScript programmer although beginners may find it hard to understand in parts.
<!--#echo encoding="none" var="lcp" -->


  • Clearly identifies those JavaScript constructs to avoid and explains why
  • In depth coverage of all of the areas of JavaScript
  • Includes nice syntax diagrams showing how to use those parts that are recommended
  • Plenty of working examples of good code
  • Good explanations of the language for people who already know other languages


  • Some sections require a fairly advanced knowkedge of javaScript


  • First Edition: Published May 2008
  • 153 page paperback
  • Published by O'Reilly
  • ISBN 9780596517748
  • Unearthing the Excellence in JavaScript
  • Author Douglas Crockford

Guide Review - JavaScript: The Good Parts

As Douglas states in his introduction, JavaScript was developed in somewhat of a rush and therefore contains some ways of writing extremely bad code as well as some extreemely good code. Prior to this book the only way that most JavaScript programmers could tell the difference between good coding and bad was through experience and many programmers have yet to learn that difference. There are some constructs (such as with and eval) that are so obviously bad that all decent JavaScript programmers avoid using them. That leaves the many not so obvious bad constructs that Douglas has now nicely listed for us all in one book along with the reasons why they are bad and what we should be doing instead.

The material presented in the book is ideal for experienced JavaScript programmers to improve the way they code. It is also ideally presented for those who already know other programming languages who want to learn JavaScript properly. Where the book is lacking ins that the information it presents is equally useful to people who have never programmed before and who want to start programming with JavaScript. They too could benefit from learning the right way to code JavaScript and would have the added benefit of not having to unlearn bad habits. Unfortunately I do not think many beginners will be able to actually learn how to program in JavaScript using just this book.

<!--#echo encoding="none" var="lcp" -->
  1. About.com
  2. Technology
  3. JavaScript
  4. Reference
  5. Reviews
  6. JavaScript Books
  7. JavaScript: The Good Parts

©2014 About.com. All rights reserved.