Blog

Book Review: JavaScript – The Good Parts

May 24, 2010

image

Today I finished reading JavaScript – The Good Parts written by Douglas Crockford. That picture on his website of him speaking with Chuck Norris on the background should make you run to the local bookstore to buy a copy of his book ;-). I instantly knew after listening to one or two podcasts, where the author appeared as a guest, that his book just had to be good. One can easily notice by the way the author speaks and writes about JavaScript that the author definitely knows his stuff on the subject.

This book is a rather quick read because its only 100 pages long (with appendixes ~145 pages). I started reading this book as a complete rookie when it comes to JavaScript. I must say that I can’t recommend this book as a first book on JavaScript. Don’t get me wrong. I really learned a lot from this book without any foreknowledge  whatsoever. But still, I wish the author had written some sort of a “JavaScript for Beginners” book that could precede “The Good Parts” book in order to get up to speed on all the different parts of the language.

This book is so full of little gems on the JavaScript programming language that I don’t know where to begin. The part of chapter 4 on Functions that describe the four patterns of invocation were a real eye opener and the examples on scope with closures really blew my mind. The chapter on regular expressions is also highly recommended. The only chapter that I didn’t like that much is chapter 8 called Methods. This chapter is completely composed with some kind of API documentation of the Array, Number, Object and RegExp and String objects which I found a bit weird in the book. Also make sure to read through the appendixes where the awful and bad parts are written down as well. These explain the particular language features that are best avoided and why they’re not as good as they look.

Nonetheless, I really enjoyed reading this book and learning about the good and also the bad parts of JavaScript. I think I’m going to read one or two beginner books on JavaScript after which I’m going to give it another thorough read.

Until next time

If you and your team want to learn more about how to write maintainable unit tests and get the most out of TDD practices, make sure to have look at our trainings and workshops or check out the books section. Feel free to reach out at infonull@nullprincipal-itnull.be.

Profile picture of Jan Van Ryswyck

Jan Van Ryswyck

Thank you for visiting my blog. I’m a professional software developer since Y2K. A blogger since Y2K+5. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Past organizer of the European Virtual ALT.NET meetings. Thinking and learning about all kinds of technologies since forever.

Comments

About

Thank you for visiting my website. I’m a professional software developer since Y2K. A blogger since Y2K+5. Author of Writing Maintainable Unit Tests. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Thinking and learning about all kinds of technologies since forever.

Contact information

(+32) 496 38 00 82

infonull@nullprincipal-itnull.be