Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 399 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 399 Bytes

ManagerObjects

Some samples of OO with Managers taken from the book "Python - Master the art of Design Patterns".

Order of study:

1 - ZipReplace.py

2 - ZipProcessor.py (refactoring ZipReplace in order to add different processors, with inheritance)

3 - ScaleZip.py (how it is easy to add a different processor)

4 - ZipProcessorComposition.py (solution with composition instead of inheritance)