Please enable JavaScript.
Coggle requires JavaScript to display documents.
GRASP and S.O.L.I.D (GRASP (Expert (Advantages (Low coupling, Cohesive…
GRASP and S.O.L.I.D
GRASP
Expert
Advantages
Low coupling
Cohesive classes
Easy to understand code
Disadvantages
Too much separation of concerns
Creator
Advantages
Low Coupling
Low Coupling
High Cohesion
Advantages
Easy to maintain
Understand
Reuse
Controller
Advantages
UI can change (no effect on other side)
Underlying classes can change (no effect on other side)
Polymorphism
Pure Fabrication
S.O.L.I.D
Single Responsibility Principle
Open(extending)-Closed(modification) principle
Liskov Substitution Principle
Preconditions
Preconditions are no stronger
Postconditions
Postconditions can be no weaker
Interface Segregation Principle
Dependency Inversion Principle