O — OCP — Open-closed principle
Definitions
Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.You should be able to use and add to a module without rewriting it.
This means that existing code should not be modified to add new functionality, but rather should