잘 분리는 어떻게 해야하나? 아래의 문장이 가장 명쾌하다.
동일한 이유로 변경되는 것들은 함께 모으고, 서로 다른 이유로 변경되는 것들은 분리
https://www.oreilly.com/library/view/97-things-every/9780596809515/ch76.html
ONE OF THE MOST FOUNDATIONAL PRINCIPLES OF GOOD DESIGN IS:
Gather together those things that change for the same reason, and separate those things that change for different reasons.
97 Things Every Programmer Should Know
Chapter 76. The Single Responsibility Principle Robert C. Martin (Uncle Bob) ONE OF THE MOST FOUNDATIONAL PRINCIPLES OF GOOD DESIGN IS: Gather together those things that change for the … - Selection from 97 Things Every Programmer Should Know [Book
www.oreilly.com
'IT기술관련 > 아키텍처' 카테고리의 다른 글
설계원칙 (0) | 2023.01.30 |
---|---|
SOLID 설계 원칙 (0) | 2021.05.15 |