Open-Closed Principle (OCP)
The Open-Closed Principle (OCP) can be be described this way:
A software component should be open for extension but closed for modification.
In other words, when requirements change, the module should change as minimum as possible. Ideally, no chan...
stankevicius.dev2 min read