Tag Archives: ood

Open-Closed Principle

    Definition According to Bertrand Meyer: “A class should be open for extension, but closed for modification” According to Wikipedia: “Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.  ” Open for Extension: »    New behavior can be added in the future »    Which means that o    If… Read More »