Marius Schulz
Marius Schulz
Software Engineer

A Review of Douglas Crockford's "JavaScript: The Good Parts"

For 2012, I've made a bunch of New Year's resolutions regarding software development, including …

  1. Learning JavaScript (again).
  2. Reading and blogging more.
  3. Contributing more to open source projects.

JavaScript: The Good Parts

Having picked up JavaScript mostly from a variety of online tutorials and examples a couple of years ago, I felt that I was lacking a true understanding of advanced concepts of the language, such as its prototypal inheritance or the currently assigned value of a function's this parameter.

Several weeks ago, I bought JavaScript: The Good Parts by Douglas Crockford to learn JavaScript, again. This time, though, I wanted to explore the language in detail with all its strengths and virtues, but also with its weaknesses, pitfalls, and quirks.

After finishing his book, I can happily say that Crockford did an excellent job covering the aspects I wanted to read about — and many more.

Reading his book and writing this blog post are the first of many steps toward keeping my New Year's resolutions, so let's get started …

About the Book #

With its 145 pages in PDF format, the book is quite short, but it is dense and packed with material. It is well structured in that every chapter is divided into many sections, which makes it possible to read small portions at a time. Since every section is aptly named, the book can easily be used as a reference. That is especially true for its ebook format, which allows the reader to jump directly to the desired section, making it even more useful.

The parts most helpful to me were the ones in which Crockford lists the good and bad parts of the language as well as the ones in which he points out common pitfalls. These sections alone are worth the price of the book! Be honest with yourself: Did you know about the danger of using line breaks within return statements?

Conclusion: A Must Read #

Crockford's writing is precise and clear throughout the entire book, which makes it easy to follow the author's thoughts without getting distracted by obscure and deeply nested sentence structures. As far as that is possible for a technical book, it is beautifully concise. However, I am not a native English speaker, as you can probably tell, so please take that with a grain of salt.

In a nutshell, JavaScript: The Good Parts is an excellent, well-written JavaScript reference that emphasizes the language's best and worst parts. It definitely is a must read for every web developer!

Now, Dear Reader, It Is Your Turn #

Whether or not you already know JavaScript, I strongly recommend reading Crockford's book. If you have not yet systematically spent time learning the language, now is a good time to start catching up — after all, you do not want to get left behind in 2012, the year in which JavaScript is going to be more important than ever.