Open Closed Principle (OCP) - Moustov/sw-craftsmanship-map GitHub Wiki

:metro:

Description

  • "software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification"; that is, such an entity can allow its behavior to be extended without modifying its source code.
  • Bertrand Meyer is generally credited for having originated the term open–closed principle, which appeared in his 1988 book Object Oriented Software Construction.
  • OOD map principles
  • (OCP == ECV)

Related knowledge