Introduction
Previously, we applied five GRASP patterns:
- Information Expert, Creator, High Cohesion, Low Coupling, and Controller
The final four GRASP patterns are covered in this chapter. They are:
- Polymorphism
- Indirection
- Pure Fabrication
- Protected Variations
[View full size image]Once these have been explained, we will have a rich and shared vocabulary with which to discuss designs. And as some of the "Gang-of-Four" (GoF) design patterns (such as Strategy and Abstract Factory) are also introduced in subsequent chapters, that vocabulary will grow. A short sentence, such as "I suggest a Strategy generated from a Abstract Factory to support Protected Variations and low coupling with respect to <X>" communicates lots of information about the design, since pattern names tersely convey a complex design concept.Subsequent chapters introduce other useful patterns and apply them to the development of the second iteration of the case studies.