Skip to content

Object-oriented design patterns implemented in the Pythonic way

License

Notifications You must be signed in to change notification settings

pythonhacker/designpatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Pythonic approach to Design Patterns

This repo hosts a set of implementations of G4 design-patterns in idiomatic Python.

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

About

Object-oriented design patterns implemented in the Pythonic way

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages