SOLID Principles: Open Closed Principle for better Understanding of extension and modification.
Reading Time: 5 minutes Introduction The Open-Closed Principle states that a software module (class, method, etc.) should be open for extension but closed to modification. This principle was proposed by Bertrand Meyer in the late 1970s and early 1980s. As a guideline for designing object-oriented software. The OCP states that the purpose of design patterns is to hide details from clients. And can focus on their specific problem domain Continue Reading