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 ...

Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.