Clean Code That Works

Posted by Doug Tue, 30 Aug 2005 14:31:00 GMT

Test-Driven Development by ExampleMy good friend, Mark Windholtz, loaned me a copy of Kent Beck’s Test Driven Development by Example. While I’ve been practicing TDD for a while now and experimenting with various techniques, I hadn’t actually read this book yet. I found it very enlightening even though I already had some TDD experience.

I have been convinced for a long time that automated tests are the way to go. TDD seems like the logical conclusion to that belief. What the book does is explicitly define the procedure of red/green/remove duplication, why that works, and patterns that come out of it. There’s almost a third of the book related to testing patterns. Most of the book is targeted towards Java, but the patterns are pretty applicable to Ruby on Rails too. Having read this book will definitely improve my development practices.

I feel I should mention that the overall tone of this book is much more informal than the XP books I’ve ready by Kent Beck. Also, I really liked the acknowledgment he wrote about Ward Cunningham.
My life as a real programmer started with patient mentoring from and continuing collaboration with Ward Cunningham. Sometimes I see Test-Driven Development as an attempt to give any software engineer, working in any environment, the sense of comfort and intimacy we had with our Smalltalk environment and our Smalltalk programs. Tere is no way to sort out the source of ideas once two people have shared a brain. If you assume that all of the good ideas here are Ward’s, then you won’t be far wrong.

I’ve communicated with Ward several times via IM and a couple times over the phone. I like him a great deal. Kent certainly gets a lot of attention because he writes the books. He’s never shy of giving credit to Ward. Ward’s such an easy going guy. He doesn’t push himself on you; it’s more like he infects you. With all I know about Ward, one of my career goals is for someone to say I’m like him. Of course, I’m far from that now. For starters, I need another 15 to 20 years of solid experience.

Posted in , , ,  | 2 comments

Older posts: 1 ... 10 11 12

Copyright 2001 - 2005 by Lathi.net and Doug Alcorn

Creative Commons, Some Rights Reserved Ruby on Rails Developer Powered by Debian GNU/Linux Powered by Typo