Saturday, July 26, 2008

Agile Java by Jeff Langr

I finished reading Agile Java by Jeff Langr several nights ago, so it's time for another book review.

The aim of this book is to teach the art of java programming using TDD (Test Driven Development), and it does so wonderfully. I would not, however, recommend this book to a first time programmer. If you have some programming experience, and would like to learn Java, then this book wouldn't be bad choice.

Writing good unit tests is a skill like any other, and that's the primary reason I picked up this text. Besides from the obvious, Jeff offers great practical advice on coding style and even naming things (the hardest thing in programming!). The book reads like sagely advice from a battle hardened coder, he's been there, done it, and this is the distillation of what works.

I'm not going to lie and say I'm disciplined enough to always use TDD, but this book helped me recognize the value of it. Now I'm actively trying to avoid falling into my old TAD (Test After Development) habits.