Prg2/design patterns 2
- This is part of Programming 2 2563
Basic information
- Patterns covered this week
- Creational patterns
- Factory Method: wikipedia, refactoring guru
- Abstract Factory: wikipedia, refactoring guru
- Structural patterns
- Bridge: wikipedia, refactoring guru
- Adapter: wikipedia, refactoring guru
- Facade: wikipedia, refactoring guru
- Composite: wikipedia, refactoring guru
- Decorator: wikipedia, refactoring guru
- Behavioral patterns
- Template Method: wikipedia, refactoring guru
- Strategy: wikipedia, refactoring guru
- Chain of Responsibility: wikipedia, refactoring guru
Visitor: wikipedia, refactoring guru- Visitor pattern is used mostly in static type languages. It is very unpopular in Python as it does not add much values and it is fairly complex to implement.
- Creational patterns