Open–closed principle
Open/Closed Principle - OCP
, на сайте с June 14, 2023 17:57
Concept in object-oriented programming
programming, the open–closed principle (OCP) states "software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification";