Chapter 16: Using the Observer Pattern
This chapter will begin our quest to expand your C++ programming repertoire beyond OOP concepts, with the goal of enabling you to solve recurring types of coding problems by utilizing common design patterns. Design patterns will also enhance code maintenance and provide avenues for potential code reuse. The goal of the fourth section of the book, beginning with this chapter, is to demonstrate and explain popular design patterns and idioms and learn how to implement them effectively in C++.
In this chapter, we will cover the following main topics:
- Understanding the advantage of utilizing design patterns
- Understanding the Observer pattern and how it contributes to OOP
- Understanding how to implement the Observer ...