Chapter 5
Design 1 – Object Calisthenics
Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away.
– Antoine de Saint-Exupery
The first time I came into contact with object calisthenics was at a meetup in London with my friend Ger Mán. We were so overwhelmed that we decided not to write any tests in order to focus on understanding this concept.
Big mistake!
Without the tests for feedback, we started making small errors that accumulated into a messy code base. The next day, without the pressure of the meetup, we paired up again and calmly worked on the exercise using object calisthenics as best as we could. Finally, it started to make some sense.
When I am coaching software ...
Get Agile Technical Practices Distilled now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.