collections:grasp
This is an old revision of the document!
Table of Contents
General Responsibility Assignment Software Patterns (GRASP)
Craig Larman describes how to assign responsibilities to classes using the following principles and patterns:
- Indirection
- Polymorphism
- Protected Variation
- Pure Fabrication
He calls GRASP “patterns of general principles in assigning responsibilities”1). Some of these are really patterns but others are principles. The latter are links in the above list.
Origin
- Craig Larman: Applying UML and Patterns – An Introduction to Object-Oriented Analysis and Design and Iterative Development
Further Reading
Box
GRASP | |||||
---|---|---|---|---|---|
Principles | Information Expert | High Cohesion | Low Coupling | Creator | Controller |
Non-Principles | Indirection | Polymorphism | Protected Variation | Pure Fabrication |
1)
Craig Larman: Applying UML and Patterns – An Introduction to Object-Oriented Analysis and Design and Iterative Development p. 219
collections/grasp.1621412458.txt.gz · Last modified: 2021-05-19 10:20 by 2a04:ac00:4:d29:5054:ff:fe00:d387