In this video, I am discussing a very helpful design pattern named BUILDER patter. Builder is a creational design pattern that lets you construct complex objects step by step. Builder pattern aims to “Separate the construction of a complex object from its representation so that the same construction process can create different representations.
00:00 About Builder Pattern
02:44 Problems with using constructors
04:51 Builder Pattern
09:01 Problems with using setters
Full Code: https://github.com/anomaly2104/coding-recipies/tree/master/src/main/java/com/uditagarwal/builder_pattern
Design Patterns Playlist: https://www.youtube.com/playlist?list=PL564gOx0bCLo5XEiNLRaEcRl4GG3rkCny
LLD System Design Playlist: https://www.youtube.com/playlist?list=PL564gOx0bCLqTolRIHIsR2JPv11w8LESW
You can follow me on:
LinkedIn: http://linkedin.com/in/anomaly2104
Instagram: https://www.instagram.com/anomaly2104
Facebook: https://www.facebook.com/anomaly2104
Twitter: https://twitter.com/anomaly2104
Blog: http://blog.uditagarwal.com
#system #design #interviews #interview #coding #programming #faang #tech #technology #developer #coder #code #java #systemdesign #architecture #software #sde #sdi #systemdesigninterview #software #development #program #lowleveldesign #lld #oops #designpatterns #designprinciples