Design Patterns (GoF) (50 Qs)•Part 1: Creational & Structural Patterns (1 - 10)
What are the three Gang of Four (GoF) Pattern Categories?
junior Leveldesign-patternsCreational
In Simple Words:
- Creational Patterns: Deal with object creation mechanisms, increasing flexibility and reuse of existing code (Factory, Builder, Singleton, Prototype).
- Structural Patterns: Explain how to assemble objects and classes into larger structures while keeping them flexible and efficient (Adapter, Decorator, Facade, Proxy, Composite).
- Behavioral Patterns: Concerned with algorithms and the assignment of responsibilities between objects (Strategy, Observer, Command, State, Iterator).