Builder Pattern - stop writing constructors with 12 parameters. This is the cleanest way to construct complex objects step by step.

What’s in the video (5m 4s)

  • 0:00 Builder Pattern
  • 0:45 Simpler Factory Pattern vs Builder Pattern
  • 1:22 What is Telescoping Constructor?
  • 2:33 How Builder Pattern Works?
  • 3:26 When to Use Builder Pattern?
  • 4:01 When to Avoid Builder Pattern?

Resources

For more in this series, visit the #design-patterns tag page or jump to the channel uploads list for everything else.