Open/closed principle (OCP)ΒΆ

“Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification” (Bertrand 1988)