Clean Code Developer
February 8th, 2010
No comments
It took me quite some time to replace the Clean Code Developer bracelet; it took me way more time than the usual three weeks because 1) the principles are fundamental and 2) I didn’t have much opportunity to use them all. But, now, I think it’s definitely time to switch from the yellow to the green bracelet. The principles and practices of the green bracelet are:
- Open closed principle: open for extension, closed for change (Object-Oriented Software Construction by Bertrand Meyer)
- Tell don’t ask
- Law of Demeter: Personally, I don’t think this principle can be used steadily nowadays. If you work with frameworks, you seldom have a chance to follow this principle striclty.
- Continuous Integration: I recommend the article of Martin Fowler for a very good introduction and the Podcast fom se-radio.net For our project, we use Hudson as the continuous integration server.
- Static code analysis
- Inversion of Control Container
- Pass knowledge
- Measure bugs

