Amburi Royamburi.hashnode.dev·Sep 10, 2023SOLID Principles: Open-Closed Principle (OCP)The Open-Closed Principle (OCP) is one of the SOLID principles of object-oriented programming. Definition: Software entities like classes, modules, functions, etc., should be open for extension but closed for modification. The “open” part says: We s...OCPAdd a thoughtful commentNo comments yetBe the first to start the conversation.