Chapter 25. GRASP: More Objects with Responsibilities

 

Luck is the residue of design.

 
 --Branch Rickey

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

Introduction

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

Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.