Behavioral patterns are useful when we need to change an algorithm followed by objects dynamically, or to implement a special type of communication between instances. Using this type of template, we can observe state changes or send special commands to a certain object.
This section covers the following patterns:
- Observer
- Strategy
- Command
- State
- Chain of responsibility
- Visitor