Harish Gautamharishgautam.hashnode.dev·May 3, 2024Open-Closed Principle (OCP) - JavascriptThe Open-Closed Principle (OCP) is one of the SOLID principles of object-oriented design, and it encourages software components to be open for extension but closed for modification. This means that you should be able to extend the behavior of a modul...low level designAdd a thoughtful commentNo comments yetBe the first to start the conversation.