Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 381 Bytes

File metadata and controls

6 lines (4 loc) · 381 Bytes

Factory Patten withot violate Open-Close principle

This project demostrate the one of way ti implement Factory pattern without violating Open-Close principle (SOLID)

  • Start folder contains the conventional way of using the Factory method which break OPEN CLOSE principle in SOLID
  • Final folder contains the Factory method which not breaking OPEN CLOSE principle in SOLID