Explore the design and implementation of five commonly used behavioral design patterns: Strategy, Chain of Responsibility, Observer, Command, and Iterator. Examine how these patterns can be used in Python built-in functions, in simple and complex use cases, for performing undo operations, and with Python special methods. Key concepts covered in this course include the Strategy pattern, how to design and implement the pattern, and how it is used in Python built-in functions; and learning the Chain of Responsibility pattern and how to write code to implement the pattern. Next, you will learn about the Observer pattern and how to implement the pattern for a simple use case and how to implement the pattern for a more complex use case. Finally, learners will study the Command pattern and how to implement the pattern to perform undo operations; and learn the Iterator pattern and its applications and learn to design an Iterator by using special methods in Python.
Python Design Patterns: Working with Behavioral Design Patterns