Part 4: Design Patterns and Idioms in C++
The goal of this part is to expand your C++ repertoire, beyond OOP and other necessary skills, to include knowledge of core design patterns. Design patterns provide well-proven techniques and strategies to solve recurring types of OO problems. This section introduces common design patterns and demonstrates in depth how to apply these patterns by building on previous examples within the book in creative ways. Each chapter contains detailed code examples to exemplify each pattern.
The initial chapter in this section introduces the idea of design patterns and discusses the advantages of utilizing such patterns within coding solutions. The initial chapter also introduces the Observer pattern and provides an in-depth program to appreciate the various components of this pattern.
The next chapter explains the Factory Method pattern and likewise provides detailed programs, showing how to implement the Factory Method pattern with and without an...