Design Patterns · Junior · Question 2 of 75
Into which three groups are the classic GoF patterns divided?
- ✓Correct answer: Creational, structural, behavioral
- 2Client-side, server-side, network
- 3Synchronous, asynchronous, reactive
Explanation
Creational patterns deal with creating objects (Factory, Builder, Singleton), structural ones with composing objects (Adapter, Decorator, Facade), behavioral ones with interaction and distribution of responsibilities (Observer, Strategy, Command). The "Gang of Four" book (1994) described 23 patterns.