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 ...
designpatterns.hashnode.dev13 min readNo responses yet.