Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition
by Craig Larman
Introduction
Previously, we explored the application of the first five GRASP patterns:
Information Expert, Creator, High Cohesion, Low Coupling, and Controller
The final four GRASP patterns are:
Polymorphism
Indirection
Pure Fabrication
Protected Variations
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 Factory) are also introduced (in subsequent chapters), that vocabulary will grow. A short sentence such as, “I suggest a Strategy generated from a 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access