GoF 1

  • GRASP: Polymorphism
  • GRASP: Protected Variations
  • GoF: Strategy
  • Composition vs. Inheritance
  • More Example Design and Implementation of variable starting rule in Black Jack Game

Reading instructions

Applying UML and Patterns: Applying UML and Patterns:

  • 25 - GRASP: more objects with responsibilites.
  • 26 - Applying GoF design Patterns

Materials

GRASP Protected Variations and Polymorphism in practice

Use of GRASP protected variations and polymorphism to design a variable rule for starting the game. Introduction to GoF Patterns.

Composition using Strategy

Use of Strategy pattern to avoid combinatorial explosion of classes.

Extracurricular

Design Patterns

Elements of Reusable Object-Oriented Software.
Gamma Erich, Helm Richard, Johnson Ralph, Vlissides John
ISBN: 9780201633610