This repo hosts a set of implementations of G4 design-patterns in idiomatic Python.
- Week #1 [08-05-2017] - Four variants of the singleton pattern including a shared-memory singleton.
- Week #2 [15-05-2017] - The Prototype pattern - simple, meta-class based, prototype-factory & prototype+singleton combo.
- Week #3 [13-06-2017] - The builder pattern - An example demonstrating building different versions of houses with different combinations of rooms, windows and porches.