Ganesh Rama HegdeforDesign Patterns in Software Blogdesignpatterns.hashnode.devยทAug 24, 2024Open/Closed Principle (OCP)The definition of OCP that I had mentioned in this blog is this: Software entities (classes, functions, modules, or methods) should be open for extension but closed for modification. This allows you to add new functionality without changing existing ...1 likeTypeScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.