/design-patterns

C++ OOD Patterns

Primary LanguageC++

design-patterns

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.

Places Where Example Sways from Playlist

  1. 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.

  2. 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.