Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 558 Bytes

Catalogue.md

File metadata and controls

33 lines (20 loc) · 558 Bytes

Intent

  • Provides an interface for creating objects in superclass
  • Allows subclasses to alter the type of object that will be created.
Meaning??
  • Replace direct Object construction calls using the new operator with calls to special factory method.
  • It decouples object creation logic dramatically.

Structure

TODO

Applicability

TODO

Implementation

TODO

Pros

TODO

Cons

TODO

Comparison with Other DPs

TODO

Detailed Reference