일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- CSS
- c++
- skt membership
- margin
- Flexbox
- dataframe
- stl
- 에라토스테네스의 체
- c
- spring
- align-items
- 통신사할인
- 백준
- grid
- 알고리즘
- 상태
- Prefix Sums
- 소수
- Design Pattern
- series
- Codility
- 확률
- 포토샵
- pandas
- Gap
- SK바이오사이언스
- Javascript
- Photoshop
- 강화학습
- 수학
- Today
- Total
목록SRP (2)
sliver__
SRP : 단일 책임 원칙 (Single responsibility principle) OCP : 개방 - 폐쇄 원칙 (Open/Closed principle) LSP : 리스코프 치환 원칙 (Liskov substitution principle) ISP : 인터페이스 분리 원칙 (Interface segregation principle) DIP : 의존관계 역전 원칙(Dependency inversion principle) SRP : 단일 책임 원칙 (Single responsibility principle) - 한 클래스는 하나의 책임만 가져야 한다. - 변경이 중요한 기준! 파급 효과가 적으면 단일 책임 원칙을 잘 따른 것이다 OCP : 개방 - 폐쇄 원칙 (Open/Closed principle)..

[Design Smell] - 잘못된 디자인의 신호 - 잘 관리하지못한 Denpendency [SOLID principle] - The Single-Responsibility Principle (SRP) - The Open-Closed Principle (OCP) - The Liskov Subsititution Principle (LSP) - The Interface Segregation Principle (ISP) - The Denpendency Inversion Principle (DIP) [Single Responsibility Principle] - Responsibility - Responsibility가 큰 class는 변경이 자주 일어난다. - 잦은 변경은 bug를 발생시키고 다른 곳에 영향..