Clean code - the pragmatic approach

Posted by Marcus Hammarberg on January 30, 2009

As I wrote in the previous post I am right now reading Clean Code by Robert "Uncle Bob" Martin. It is great!

But having 200 hundred pages book that contains rules about how to code will pretty soon get hard. Especially if you try to adopt it in a team.

A while back we discussed an essay by Jeff Bay called Object Calisthenics a lot in the Microsoft community at Avega. This is a very pragmatic approach with 9 rules that states how to code.

Here is a pdf-version of the rules.

What I found was that many of the rules that Uncle Bob is talking about in Clean Code will be followed automatically if you adhere to the rules in Object Calisthenics.

I'll try it out sometimes - but it looks like a quite bitter pill to swallow when you look at the list... Brrr

Published by Marcus Hammarberg on Last updated