Design patterns #2: The Builder Pattern and the Telescoping Constructor anti-pattern

Modesto Figuereo
Jul 12, 2016 · 3 min read

Telescoping Constructor anti-pattern

The Builder pattern

The Builder pattern is an object creation design pattern which intent is to separate the construction of a complex object from its representation. By doing so, the same construction process can lead to different representations.

Advantages

Disadvantages

From Telescoping Constructor anti-pattern to Builder pattern

Conclusion

Modesto Figuereo

Written by

Tech Geek, Life Hacker and Dancer. 🎶 Salsa Casino, LA Style, NY Style, Kizomba, Bachata 🎶

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade