Behavioral Design Patterns
In the previous chapter, we covered structural patterns and object-oriented programming (OOP) patterns that help us create clean, maintainable, and scalable code. The next category of design patterns is behavioral design patterns. Behavioral patterns deal with object interconnection and algorithms.
In this chapter, we’re going to cover the following main topics:
- The Chain of Responsibility pattern
- The Command pattern
- The Observer pattern
- The State pattern
- The Interpreter pattern
- The Strategy pattern
- The Memento pattern
- The Iterator pattern
- The Template pattern
- Other behavioral design patterns
At the end of this chapter, you will know how to improve your software project designs using behavioral patterns.