Types of Design Patterns from GoF
Discover how the GoF design patterns serve as foundational solutions for recurring software problems. Learn to differentiate between behavioral, creational, and structural patterns, understand their intents and use cases, and see examples like Strategy, Factory Method, Singleton, Adapter, and Bridge. This lesson equips you with the knowledge to recognize and apply these patterns effectively in C++ software design.
We'll cover the following...
GoF
The book Design Patterns: Elements of Reusable Object-Oriented Software is written by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. These four authors are known as the Gang of Four (GoF). This book is credited with launching patterns in the software world. It’s a well-organized document that divides a pattern into several sections: intent, motivation, applicability, structure, participants, collaborations, consequences, implementation, sample code, known uses, and related patterns, just to name a few. The GoF patterns are huge, with each one encompassing a dozen pages.