Builder Pattern - design patterns (ep 11)

  Рет қаралды 35,565

BBarters

BBarters

Күн бұрын

Пікірлер: 59
@princeita7737
@princeita7737 3 жыл бұрын
jeez! its an A from me for an excellent explanation
@Gellex1990
@Gellex1990 3 жыл бұрын
Fantastic video. I'm subscribing, It helped solidify the design pattern for me, most of the other videos I see on design patterns tend to make them seem more complicated than which they really are. I will watch your other videos as well.
@BBarters
@BBarters 3 жыл бұрын
Glad it was helpful!
@shreyashchoudhary2637
@shreyashchoudhary2637 3 жыл бұрын
While searching for any CS related subject on youtube I'm like hope some BBarters video come up! Great work!
@bobslave7063
@bobslave7063 6 жыл бұрын
Your real world examples rocks! Thank you.
@allanpearson882
@allanpearson882 4 жыл бұрын
18 minutes well spent. Buy this guy a bigger whiteboard !! :)
@derrick7968
@derrick7968 4 жыл бұрын
Nice nice, I finally understand this pattern, thanks alot. And with a great real example... impressive.
@vedantsharma5876
@vedantsharma5876 2 жыл бұрын
Excellent Example with Excellent Explanation!
@AnandVijay76
@AnandVijay76 7 жыл бұрын
excellent explanations about all the design patterns. really enjoyed watching all of them. since i play tennis, i liked the examples, and the subtle jokes about using the system for wimby and us open. (funny). keep it going. super work... really appreciate the videos!!
@CookingWithMeenu4u
@CookingWithMeenu4u 5 жыл бұрын
kia baat hai bohat zabardast dost well done
@letsCherishCoding
@letsCherishCoding 3 жыл бұрын
Great explanation with a real world example. Nice
@ravirajsaraganachari3038
@ravirajsaraganachari3038 4 жыл бұрын
Thanks for nice explaintion with good real time scenario 🤗
@BBarters
@BBarters 4 жыл бұрын
Glad you liked it!
@shiwang789
@shiwang789 Жыл бұрын
I think its better to not have booking attribute in the notification class. we can send the booking object while calling the notify method.
@vinayr5060
@vinayr5060 4 жыл бұрын
excellent explanation. Thanks for taking up a real world scenario, Was tired of looking at car and pizza examples.
@goelakshay0
@goelakshay0 4 жыл бұрын
Is it similar to strategy design pattern ?
@jagadishbalewadimath5036
@jagadishbalewadimath5036 6 жыл бұрын
Great video. :) Easy to understand. Way of explaining using code is awesome. Felt very happy.
@ShabnamKhan-cj4zc
@ShabnamKhan-cj4zc 7 жыл бұрын
Awesome explanation in simplest manner.Thanks a lot.
@GopiOraApps
@GopiOraApps 2 жыл бұрын
Excellent explanation..
@abdulkamilf3648
@abdulkamilf3648 2 жыл бұрын
Best explanation !!
@remoteXJunkie
@remoteXJunkie 5 жыл бұрын
Hi, which design pattern shall we use to send notification mechanism while choosing between 3 different combinations(smsOnly,emailOnly,smsAndEmail). I guess factoryMethod would be a good choice if we have a common sending mechanism in all combinations.
@shanmukhagadigi612
@shanmukhagadigi612 2 жыл бұрын
may i please know why the strategy pattern does not work here
@databiceps
@databiceps 3 жыл бұрын
Very nice scenario and modelling explanation
@anandpadamala451
@anandpadamala451 3 жыл бұрын
great explanation after watching your video i had subscribed.. why can't you explain with Java Code..
@pramodhkampalli6908
@pramodhkampalli6908 7 жыл бұрын
I'm awestruck by the way u explained this concept with such simplicity. Thanks a lot.
@wattalavibes5039
@wattalavibes5039 3 жыл бұрын
excellent explanation
@chotijunkie
@chotijunkie 4 жыл бұрын
Search many tutorial, finally find the solution, thanks 🙏
@BBarters
@BBarters 4 жыл бұрын
Glad you found it useful!
@techtechtech8391
@techtechtech8391 6 жыл бұрын
Excellent... Waiting for bridge, adopter patterns.. Also pls tell me which pattern is suitable for logging different type of error.
@rajchaudhary1645
@rajchaudhary1645 4 жыл бұрын
A good example. But let's suppose there one more notification is required, which requires a call for Gold Members(a new membership class), a Gold member has a personal Relationship manager, and now you have to update all the notification classes, and also a builder's function, add a new RelationShipManagerNotification. Instead of this can we use notification to notify like 1.Sms Notification 2.email notification. 3.Call Notification. Booking class will have a bool/bit which decides, who needs to notify. So when a new class Gold Member creates, we just add to add call notification bit. we don't need to modify any other class when a new call notification comes, just create CallNotification class, yes need to update builder class handle new bit What're your thoughts
@PiterMorbid
@PiterMorbid 6 жыл бұрын
Thank you! GREAT EXAMPLE. Unfortunately this example does not use all of the builder pattern class hierarchy. For example, it lacks the director class and etc. But what the video does well is to illustrate when a builder is needed.
@dustdreamer673
@dustdreamer673 6 жыл бұрын
The "Director" class is named as "Client Code" in the example since it's the class invoking the construction logic
@weizhao900
@weizhao900 6 жыл бұрын
Agree that, here NotificationBuild is probably like director + builders. The notification is like "Product". So the construction is little different with normal builder pattern case i think.
@saginithish2272
@saginithish2272 6 жыл бұрын
Nice Explanation with good real-life example
@sameerargade3892
@sameerargade3892 4 жыл бұрын
Great Example
@julwania
@julwania 7 жыл бұрын
Like Approach I think example is complicated we can reduce multiple if else , avoid duplicate code, common add method can be useful.
@mubarakkhan228
@mubarakkhan228 5 жыл бұрын
Nicely explained with good examples
@DG-wc8iz
@DG-wc8iz 6 жыл бұрын
Cool way of teaching.. loved it
@johnnguyen1655
@johnnguyen1655 4 жыл бұрын
Again really cool example. Thanks alot!
@sudhanshuverma9615
@sudhanshuverma9615 4 жыл бұрын
Thanks, Good demonstration
@damianwysokinski3285
@damianwysokinski3285 3 жыл бұрын
Many Thanks!
@sayurirathnayake291
@sayurirathnayake291 4 жыл бұрын
nice explanation thank u
@BBarters
@BBarters 4 жыл бұрын
Glad you liked it!
@abhishekmunigial6230
@abhishekmunigial6230 4 жыл бұрын
Thank you.
@BBarters
@BBarters 4 жыл бұрын
You're welcome!
@acd1234
@acd1234 5 жыл бұрын
Who searched for clash of clans but end up here?
@YadavAnoopKumar1987
@YadavAnoopKumar1987 6 жыл бұрын
very nice explanation
@crazeeealgorithms3236
@crazeeealgorithms3236 5 жыл бұрын
Hello Sir, Please Continue the Series.
@chathuraariyathilaka
@chathuraariyathilaka 7 жыл бұрын
this is same as observer design pattern
@sarithabapuram
@sarithabapuram 6 жыл бұрын
True
@aditchauhan876
@aditchauhan876 4 жыл бұрын
No
@dineshkachhi35
@dineshkachhi35 6 жыл бұрын
thanks you
@dipaksinha007
@dipaksinha007 6 жыл бұрын
Thank you !!! :)
@radiaben4344
@radiaben4344 6 жыл бұрын
thanks
@rupeshkokulla7066
@rupeshkokulla7066 6 жыл бұрын
Shall i have ur number plzz brother u r really awesome super teaching I loved it the way u teach
@Ty1er
@Ty1er 2 жыл бұрын
Can anybody explain what does the term "client code" mean ?
@AdilKhan-vf2es
@AdilKhan-vf2es 2 жыл бұрын
any code calling a library or any other part of your own code
@veerababubonthu927
@veerababubonthu927 5 жыл бұрын
Your real world examples rocks! Thank you.
Adapter Pattern - Design Patterns (ep 8)
26:36
Christopher Okhravi
Рет қаралды 248 М.
Singleton pattern - design patterns (ep 7)
12:21
BBarters
Рет қаралды 65 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
Builder Design Pattern
13:05
Derek Banas
Рет қаралды 328 М.
Decorator Pattern - design patterns (ep 8)
20:59
BBarters
Рет қаралды 34 М.
Abstract Factory Pattern - Design Patterns (ep 5)
25:54
Christopher Okhravi
Рет қаралды 319 М.
Factory Method Pattern - Design Patterns (ep 4)
27:21
Christopher Okhravi
Рет қаралды 559 М.
C++ Builder design pattern: A pragmatic approach
14:49
platis.solutions
Рет қаралды 4,2 М.
Factory method pattern - design patterns (ep 5)
25:41
BBarters
Рет қаралды 85 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН