Zhiye Lee

26%
Flag icon
The SRP tells us to separate methods into different classes, if they change for different reasons. The CCP tells us to separate classes into different components, if they change for different reasons. Both principles can be summarized by the following sound bite: Gather together those things that change at the same times and for the same reasons. Separate those things that change at different times or for different reasons.
Clean Architecture: A Craftsman's Guide to Software Structure and Design
Rate this book
Clear rating
Open Preview