Open-Closed Principle (OCP)
  • states that software entities should be open for extension, but closed for modification

Ways to Implement OCP

Resources