Please enable JavaScript.
Coggle requires JavaScript to display documents.
Solid Principle (Single Responsibility Principle (Definition
Every object…
Solid Principle
-
-
Open/Closed Principle
Definition
Software entities (classes, modules, functions...) should be open for extension but closed for modification
Making changes to class by adding to or building on top of them (use subclass, polymorphism...) rather than modifying their code
Define things that can be/need to be changed when designing a class. Not a good idea to try applying this principle ahead of time because it can lead to complex designs
-
-