- 같은 이유로 변화하는 것끼리 묶고, 다른 이유로 변화하는 것끼리는 분리하라.
- Gather together those things that change for the same reason, and separate those things that change for different reasons.
Robert C. Martin (Uncle Bob)
https://www.oreilly.com/library/view/97-things-every/9780596809515/ch76.html
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
https://en.wikipedia.org/wiki/Single-responsibility_principle
Single-responsibility principle - Wikipedia
From Wikipedia, the free encyclopedia Computer programming principle The single-responsibility principle (SRP) is a computer programming principle that states that "A module should be responsible to one, and only one, actor."[1] The term actor refers to a
en.wikipedia.org
'IT기술관련 > 아키텍처' 카테고리의 다른 글
좋은 코드 : 좋은 naming과 function의 역할이 잘 분리된 설계 (0) | 2023.04.07 |
---|---|
SOLID 설계 원칙 (0) | 2021.05.15 |