Chapter 2 - Designing Classes with a Single Responsibility
Grouping Methods into Classes The classes you create will affect how you think about your application forever. They define a virtual world, one that constrains the imagination of everyone downstream. Despite the importance of correctly grouping methods into classes, at this early stage of your project you cannot possibly get it right. Design is more the art of preserving changeability than it is the act of achieving perfection. Organizing Code to Allow for Easy Changes We define easy to change as: ...