Please enable JavaScript.
Coggle requires JavaScript to display documents.
Software Principles (S.O.L.I.D. (S => Single-responsibility principle…
Software Principles
S.O.L.I.D.
S => Single-responsibility principle
One job
one reason to change
O=> Open-closed principle
open for extension
closed for modification
L=> Liskov substitution principle
subclass should be substitutable for baseclass
I => Interface segregation principle
not to big interfaces
D => Dependency Inversion Principle
depending on abstractions not on creations
OOP
Encapsulation
internals hidden
only accessors
only mutators
Abstraction
interface and functionality
instead of imp details
implementation of object that contains
same essential properties like original represented
Inheritance
code reuse
base classes
Polymorphism
implements different
with what kind of object we have