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