Python 객체 지향과 디자인 패턴
클래스와 객체부터 실제 Python 코드에서 쓰이는 생성, 구조, 행위 패턴까지.
경로 시작하기 →1 클래스와 객체 레슨 2개
- 레슨 챌린지 1개 Python 클래스와 객체 상태와 동작을 가진 사용자 정의 타입을 만듭니다.
- 레슨 챌린지 1개 Python 객체 지향 프로그래밍 실행 가능한 예제로 캡슐화, 상속, 오버라이딩과 다형성을 배웁니다.
2 생성 패턴 레슨 3개
- 레슨 챌린지 1개 Singleton Pattern in Python Ensure a class has one shared instance and provide a global access point.
- 레슨 챌린지 1개 Factory Method Pattern in Python Let subclasses or a factory method choose which concrete object to create.
- 레슨 챌린지 1개 Builder Pattern in Python Construct a complex object through clear, incremental steps.
3 구조 패턴 레슨 4개
- 레슨 챌린지 1개 Adapter Pattern in Python Convert an existing interface into the interface a client expects.
- 레슨 챌린지 1개 Decorator Pattern in Python Add behavior to an object dynamically without changing its class.
- 레슨 챌린지 1개 Facade Pattern in Python Provide one simple interface to a complex subsystem.
- 레슨 챌린지 1개 Composite Pattern in Python Treat individual objects and object groups through the same interface.
4 행위 패턴 레슨 5개
- 레슨 챌린지 1개 Observer Pattern in Python Notify subscribed objects automatically when subject state changes.
- 레슨 챌린지 1개 Strategy Pattern in Python Select an interchangeable algorithm at runtime.
- 레슨 챌린지 1개 Command Pattern in Python Represent a request as an object that can be queued, logged, or undone.
- 레슨 챌린지 1개 State Pattern in Python Change an object's behavior when its internal state changes.
- 레슨 챌린지 1개 Iterator Pattern in Python Traverse a collection without exposing its internal representation.