Consequences

    The strategy pattern has the following consequences and drawbacks

  1.     Families of related algorithms
  2.     An alternative to subclassing
  3.     Strategies eliminate conditional statements
  4.     A choice of implementations
  5.     Clients must be aware of different strategies
  6.     Communication overhead between Strategy and Context
  7.     Increased number of objects
BACK    NEXT