본문 바로가기
협업툴,가상환경 정리/방법론 관련 정리

SOLID의 단일 책임 원칙

by 알 수 없는 사용자 2022. 9. 14.

 

참고 : 

https://yoongrammer.tistory.com/96

 

단일 책임 원칙 (SRP: Single Responsibility Principle)

목차 단일 책임 원칙 (SRP: Single Responsibility Principle) 클래스를 변경하는 이유는 단 한 가지여야 한다. 로버트 C. 마틴 단일 책임 원칙(SRP: Single Responsibility Principle)은 다섯 가지 SOLID 애자일..

yoongrammer.tistory.com

 


쉽게 말해서 

client -> handler -> agent -> manager 구조에서

하위단인 client 말고 상위단인 manager 쪽에서 수정할 수 있게끔 코드를 짜야한다. 라는 의미

 

 

 

 

 

 

 

 

 

댓글