As I mentioned in my previous post, I am currently reading Clean Code by Robert “Uncle Bob” Martin. It’s a great book!
However, having a 200-page book with rules on coding can become overwhelming, especially when trying to adopt these practices within a team.
A while back, we discussed an essay by Jeff Bay called “Object Calisthenics” extensively in the Microsoft community at Avega. This essay offers a very pragmatic approach with 9 rules on how to code.
You can find a PDF version of the rules.
I found that many of the principles Uncle Bob discusses in Clean Code are naturally followed if you adhere to the rules in Object Calisthenics.
I’ll try this approach out sometime. It does seem like a bit of a tough pill to swallow when you look at the list, though.