📔
Today Joonas Learned
  • Home
  • About Me
  • Chrome Extension
    • CSS injection
  • Design Pattern
    • SOLID 원칙
      • 1. SRP
      • 2. OCP
      • 3. LSP
      • 4. ISP
      • 5. DIP
    • 생성 패턴
      • Singleton Pattern
      • Abstract Factory Pattern
      • Factory Method Pattern
    • 구조 패턴
      • Adapter Pattern
      • Bridge Pattern
      • Composite Pattern
      • Decorator Pattern
      • Facade Pattern
      • Proxy Pattern
    • 행위 패턴
      • Command Pattern
      • Observer Pattern
      • State Pattern
      • Strategy Pattern
      • Template Method Pattern
  • Graphics
    • OpenGL ES
      • 파이프라인
      • 삼각형 그리기
      • 삼각형 움직이기
      • 다각형 그리기
      • 정사면체 그리기
      • [WIP] 마인크래프트 블럭 만들기
      • [WIP] Lighting, Normal Mapping
  • Internet
    • iOS/Safari
  • Javascript
    • async, defer 속성
    • 나머지 매개변수 (Rest parameter)
    • 화살표 함수 표현 (arrow function expression)
    • Template Literals
    • TDZ (Temporal Dead Zone)
    • Spread syntax (...)
  • Network
    • OSI 7 계층 모델
  • Uncategorized
    • 2021/12/07
    • 2020/09/03
    • 2020/09/04
    • 2020/08/22
  • git/VCS
    • Merge 커밋 메시지 수정
Powered by GitBook
On this page
  • 1. Single Responsibility Principle (SRP; 단일 책임 원칙)
  • 2. Open/Closed Principle (OCP; 개방-폐쇄 원칙)
  • 3. Liskov Substitution principle (LSP; 리스코프 치환 원칙)
  • 4. Interface Segregation Principle (ISP; 인터페이스 분리 원칙)
  • 5. Dependency Inversion Principle (DIP; 의존관계 역전 원칙)

Was this helpful?

  1. Design Pattern

SOLID 원칙

PreviousDesign PatternNext1. SRP

Last updated 4 years ago

Was this helpful?

SOLID 원칙들은, 소프트웨어 작업에서 프로그래머가 소스 코드를 읽기 쉽고 확장하기 쉽게 될 때 까지 리팩토링하여 를 없애기 위해 쓰기 좋은 지침이다.

1. Single Responsibility Principle (SRP; 단일 책임 원칙)

2. Open/Closed Principle (OCP; 개방-폐쇄 원칙)

3. Liskov Substitution principle (LSP; 리스코프 치환 원칙)

4. Interface Segregation Principle (ISP; 인터페이스 분리 원칙)

5. Dependency Inversion Principle (DIP; 의존관계 역전 원칙)

코드 냄새
1. SRP
2. OCP
3. LSP
4. ISP
5. DIP