This repository contains OOD patterns in C++ based on the Design Patterns in Object Oriented Programming playlist by Christopher Okhravi. The playlist (somewhat loosly) follows the book Head First Design Patterns: A Brain-Friendly Guide.
-
Abstract Factory Pattern: Example sways from the example given in the playlist (that of UI components) or the book (Pizza shop) and introduces a clothes factory for work clothes and day-off clothes.
-
Command Pattern: Example slightly sways from playlist (remote for smart lamp) and introduces an AC remote. Not quite sure about the implementation of this example.