jeez! its an A from me for an excellent explanation
@Gellex19903 жыл бұрын
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.
@BBarters3 жыл бұрын
Glad it was helpful!
@shreyashchoudhary26373 жыл бұрын
While searching for any CS related subject on youtube I'm like hope some BBarters video come up! Great work!
@bobslave70636 жыл бұрын
Your real world examples rocks! Thank you.
@allanpearson8824 жыл бұрын
18 minutes well spent. Buy this guy a bigger whiteboard !! :)
@derrick79684 жыл бұрын
Nice nice, I finally understand this pattern, thanks alot. And with a great real example... impressive.
@vedantsharma58762 жыл бұрын
Excellent Example with Excellent Explanation!
@AnandVijay767 жыл бұрын
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!!
@CookingWithMeenu4u5 жыл бұрын
kia baat hai bohat zabardast dost well done
@letsCherishCoding3 жыл бұрын
Great explanation with a real world example. Nice
@ravirajsaraganachari30384 жыл бұрын
Thanks for nice explaintion with good real time scenario 🤗
@BBarters4 жыл бұрын
Glad you liked it!
@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.
@vinayr50604 жыл бұрын
excellent explanation. Thanks for taking up a real world scenario, Was tired of looking at car and pizza examples.
@goelakshay04 жыл бұрын
Is it similar to strategy design pattern ?
@jagadishbalewadimath50366 жыл бұрын
Great video. :) Easy to understand. Way of explaining using code is awesome. Felt very happy.
@ShabnamKhan-cj4zc7 жыл бұрын
Awesome explanation in simplest manner.Thanks a lot.
@GopiOraApps2 жыл бұрын
Excellent explanation..
@abdulkamilf36482 жыл бұрын
Best explanation !!
@remoteXJunkie5 жыл бұрын
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.
@shanmukhagadigi6122 жыл бұрын
may i please know why the strategy pattern does not work here
@databiceps3 жыл бұрын
Very nice scenario and modelling explanation
@anandpadamala4513 жыл бұрын
great explanation after watching your video i had subscribed.. why can't you explain with Java Code..
@pramodhkampalli69087 жыл бұрын
I'm awestruck by the way u explained this concept with such simplicity. Thanks a lot.
@wattalavibes50393 жыл бұрын
excellent explanation
@chotijunkie4 жыл бұрын
Search many tutorial, finally find the solution, thanks 🙏
@BBarters4 жыл бұрын
Glad you found it useful!
@techtechtech83916 жыл бұрын
Excellent... Waiting for bridge, adopter patterns.. Also pls tell me which pattern is suitable for logging different type of error.
@rajchaudhary16454 жыл бұрын
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
@PiterMorbid6 жыл бұрын
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.
@dustdreamer6736 жыл бұрын
The "Director" class is named as "Client Code" in the example since it's the class invoking the construction logic
@weizhao9006 жыл бұрын
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.
@saginithish22726 жыл бұрын
Nice Explanation with good real-life example
@sameerargade38924 жыл бұрын
Great Example
@julwania7 жыл бұрын
Like Approach I think example is complicated we can reduce multiple if else , avoid duplicate code, common add method can be useful.
@mubarakkhan2285 жыл бұрын
Nicely explained with good examples
@DG-wc8iz6 жыл бұрын
Cool way of teaching.. loved it
@johnnguyen16554 жыл бұрын
Again really cool example. Thanks alot!
@sudhanshuverma96154 жыл бұрын
Thanks, Good demonstration
@damianwysokinski32853 жыл бұрын
Many Thanks!
@sayurirathnayake2914 жыл бұрын
nice explanation thank u
@BBarters4 жыл бұрын
Glad you liked it!
@abhishekmunigial62304 жыл бұрын
Thank you.
@BBarters4 жыл бұрын
You're welcome!
@acd12345 жыл бұрын
Who searched for clash of clans but end up here?
@YadavAnoopKumar19876 жыл бұрын
very nice explanation
@crazeeealgorithms32365 жыл бұрын
Hello Sir, Please Continue the Series.
@chathuraariyathilaka7 жыл бұрын
this is same as observer design pattern
@sarithabapuram6 жыл бұрын
True
@aditchauhan8764 жыл бұрын
No
@dineshkachhi356 жыл бұрын
thanks you
@dipaksinha0076 жыл бұрын
Thank you !!! :)
@radiaben43446 жыл бұрын
thanks
@rupeshkokulla70666 жыл бұрын
Shall i have ur number plzz brother u r really awesome super teaching I loved it the way u teach
@Ty1er2 жыл бұрын
Can anybody explain what does the term "client code" mean ?
@AdilKhan-vf2es2 жыл бұрын
any code calling a library or any other part of your own code