CSC/ECE 517 Fall 2010/ch7 7e GS

From Expertiza_Wiki
Revision as of 00:14, 2 December 2010 by Dragon9786 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Protected Variations Pattern

GRASP stands for General Responsibility Assignment Software Patterns and defines nine patterns, of which protected variations is one [1].

The protected variations pattern protects elements from the variations on other elements (objects, systems, subsystems) by wrapping the focus of instability with an interface and using polymorphism to create various implementations of this interface.[1]