Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Spring Boot
- thymeleaf
- mariadb
- springboot
- 롬복
- Git
- java
- 기초100제
- go
- spring security
- 알고리즘
- 스프링
- Vue.js
- H2 설치
- JPA
- golang
- 클린코드
- 클린 코드
- Codeup
- Python
- GitHub
- 객사오
- Gradle
- 코드업
- 파이썬
- Postman
- MySQL
- Spring
- 티스토리챌린지
- 오블완
Archives
- Today
- Total
목록Solid (1)
nyximos.log
[Spring] 좋은 객체 지향 설계의 5가지 원칙 SOLID
클린코드로 유명한 로버트 마틴이 좋은 객체 지향 설계의 5가지 원칙을 정리 SRP Single responsibility principle 단일 책임 원칙 OCP Open/closed principle 개방-폐쇄 원칙 LSP Liskov substitution principle 리스코프 치환 원칙 ISP Interface segregation principle 인터페이스 분리 원칙 DIP Dependency inversion principle 의존관계 역전 원칙 SRP Single responsibility principle 단일 책임 원칙 한 클래스는 하나의 책임만 가져야 한다. 하나의 책임이라는 것은 모호하다. 문맥과 상황에 따라 다르다. 중요한 기준은 변경이다. 변경이 있을 때 파급 효과가 적으면 ..
Programming/Spring
2022. 1. 9. 17:24