Design patternsBuilder Pattern


Remarks

Separates the construction of a complex object from its representation so that the same construction process can create different representations.

  • Separate the logic from representation.
  • Reuse logic to work with different set of data.