Chapter Summary


  1. Iterators are preferred to cursors
  2. A design pattern uses a standard format to give proven advice about a problem in software design
  3. The ITERATOR pattern teaches how to access the elements of an aggregate object
  4. The ADAPTER pattern teaches how to use a class in a context that requires a different interface
  5. The STRATEGY pattern teaches how to supply variants of an algorithm to a client
  6. The TEMPLATE METHOD pattern teaches how to supply varying behavior patterns to an algorithm
  7. The COMPOSITE pattern teaches how to combine several objects into an object that has the same behavior as its parts
  8. Design patterns apply in specific situations that are described by the context and solution parts of the pattern

prev |top