Hi everyone, Don't forget to hit LIKE and SUBSCRIBE button for more videos like this!! And this will help me a-lot.
@aseemsameer72812 жыл бұрын
How is this constructing a complex object using other objects? No other complex objects being created to create a single complex object, whatsoever. Just implementing the Factory-similar setup, with the virtual constructor, isn't rather convincing, than justified as a new design pattern. Appreciate the simplicity in explanation, though.
@spicytuna086 жыл бұрын
i will vote you for the best actor in tech teaching category. your voice goes up and down and be really emotional. you really get into it.
@CppNuts6 жыл бұрын
Thank you so much for such a great comment!! :)
@anantupadhyay48842 жыл бұрын
as per your explanation , each and every builder needs to override all functions. Builder don't behaves in this way. Suppose if some concrete builder only needs 2 composite objects and other concrete builder needs 3 composite objects. For simple example, Manual Car needs Seat, Engine and Automatic Car needs Seat , Engine, any other feature(Sun Roof). How will your explanation handle this ? Please explain
@SajalKishoreRastogi2 жыл бұрын
Exactly. What is described in the video is (partly) Abstract Factory Design Pattern with a few elements of Builder Design Pattern sprinkled on it. It is a completely new design patterns which seems to accomplish nothing - neither the easy maintenance of Abstract Factory, nor the flexible (and consistent) object creation of Builder.
@anuraagkhandagle513011 ай бұрын
Hi, it was a good explanation. I'm struggling to find the difference between abstract factory and builder pattern here. Can you make a video where you take the same example for both Abstract Factory and Builder pattern and tell us which to use when? I'm seeing this as an analogy to abstract factory. Where Director is equivalent to Factory class. Jet Builder and Propellor Builder can be considered as two Factories. I'm not understanding what the difference would be.
@varunsingh38257 жыл бұрын
Hi, Nicely explained, can you please UML diagrams also, at least for design pattern related topics? Please keep helping :)
@CppNuts7 жыл бұрын
Hi Varun Singh, UML Link is in the description field.
@habibyama6 жыл бұрын
You make me understand in 8 minutes. Lots of love :)
@sandrok145 жыл бұрын
Nice explanation as always. But I don't think we need to delete jet and pro pointers, because they are just stack pointers no heap memory used. Correct me if I am wrong.
@CppNuts5 жыл бұрын
delete is required, notice that we are returning heap pointer and assigning into jet and pro pointers. If it is hard to find whether you need to use delete or not then just check do you have any new operator in your program if yes then you actually need to have delete keyword in your program somewhere which is delete the heap memory created using new operator.
@sandrok145 жыл бұрын
@@CppNuts Ok.. Now following the hierarchy I get it. But from main() perspective it seemed like stack pointers, a bit confusing
@ankitgupta82157 жыл бұрын
Hey please add UML or class diagram for same..it will be an added advantage to viewers,design patterns should start with some class diagram...its a great help....thanx.
@ankitgupta82157 жыл бұрын
thanks..it will work for many.
@shibisaketh6 жыл бұрын
Abstract factory and factory method also very similar to builder. So can u compare this 3 and tell when to use what
@trodisdeer52815 жыл бұрын
Please add more videos about Design Patterns in C++. Thank you .
@CppNuts5 жыл бұрын
Yes it is planned, but will take time.
@varunsingh38257 жыл бұрын
Hi Ethan, I really liked your question and explanation, thanks alot :) Can you please add a detail video explaining the internals of virtual table implementation I mean how table created, how functions stored, how vptr iterate through table, whats if offset , how exactly it find to which tale and which will be called at runtime using vtable??
@CppNuts6 жыл бұрын
Hi Varun, You can expect in coming videos!!
@techademy93542 жыл бұрын
Hey sir, you have any plans to complete the design patterns course? or any plans to make like full course on sites like Udemy or anything like that? Thanks :)
@vhxhao3 жыл бұрын
Thanks for the nice video. What happens if Jetbuilder needs an extra step than PropellerBuilder? what do we do in the Director class?
@mayur07ec786 жыл бұрын
Nice explanation of all the creational design patterns but not able to find structural and behavioral design patterns. May I know are you planning to upload in short time or have to wait long time ?
@CppNuts6 жыл бұрын
Hi mayur patel, I am trying my best to upload videos ASAP. But i think you may have to wait for little longer i guess. i have few play lists to complete first.
@mayur07ec786 жыл бұрын
CppNuts Sure, take your time, awaiting for more videos, Thank you ...
@hsaidinsan63454 жыл бұрын
Great work man But why have you stopped making more design patterns videos If because of your busy program, then pls try to assign some of your time for this important topic
@CppNuts4 жыл бұрын
Sure, i will think about it, thanks man!
@saikumarpeddireddy70794 жыл бұрын
completed your design pattern playlist thank you for your videos
@CppNuts4 жыл бұрын
Glad you like them!
@habibyama6 жыл бұрын
Thanks man. Very good explanation. Great job!
@CppNuts6 жыл бұрын
Thanks man..
@kirannarayanaswamy20165 жыл бұрын
Trust me you are awesome in teaching :)
@CppNuts5 жыл бұрын
Thanks man, for boosting me.
@lakshminarayan15644 жыл бұрын
Nice explanation but I don't see a link to the code in description or any UML links?
@CppNuts4 жыл бұрын
Sorry for that i jus updated the description so forgot to add. Now check it please..
@lakshminarayan15644 жыл бұрын
@@CppNuts Thanks a lot! Your explanation along with reasoning is great!
@CppNuts4 жыл бұрын
Thanks for appreciation..
@krantimadineni5857 жыл бұрын
At last one Indian is making some great videos in C++...
@spicytuna086 жыл бұрын
only one? i have seen many.
@mohammedimrankhan62655 жыл бұрын
Composing spelling is correct
@vaibhavdangayachvd5 жыл бұрын
In the PlaneBuilder abstract class there should be a destructor to deallocate _plane
@SajalKishoreRastogi2 жыл бұрын
Hi, I like all your videos but this one is misleading. What is described in the video is (partly) Abstract Factory Design Pattern with a few elements of Builder Design Pattern sprinkled on it. It is a completely new design patterns which seems to accomplish nothing - neither the easy maintenance of Abstract Factory, nor the flexible (and consistent) object creation of Builder.
@وليدايمن-ث2م3 жыл бұрын
شغلك جميل اعمل دورات دبلوم فوتوشوب ودمجها مع ال++c ان استطعت الله يوفقك
@FabioBannet6 жыл бұрын
Very useful lesson, but - please speak slowly (because you tong like " do know do way" ), and please don`t repeat all time word - " OK" it`s not good. Thank you ^)
@CppNuts6 жыл бұрын
Thanks for your suggestion, i have already tried to take care of these two problems. :😀
@rohitashkumar7816 жыл бұрын
in your github code code showing error:- BuilderDesginPattern.cpp:58:5: error: ‘Builder’ does not name a type; did you mean ‘JetBuilder’? Builder *builder; ^~~~~~~ JetBuilder
@CppNuts6 жыл бұрын
Thanks!! Its corrected please check!!
@TriNguyen-og1ws4 жыл бұрын
Nice vid, thanks alot bro
@aswinsree35704 жыл бұрын
Your C++ and STL videos are superb but those on Design Patterns are junk (considering the high standard you have set before). Showing code doesn't even help. My suggestion is to explain with diagrams first. UML diagrams do help.
@CppNuts4 жыл бұрын
Design patterns videos r the one i recorded in the beginning, and i was learning that time. I hope you will understand.
@aswinsree35704 жыл бұрын
@@CppNuts Sorry I didn't notice the posted date. May bad! You have come a long way bro. Keep posting. Waiting for your videos on Algorithms :)
@CppNuts4 жыл бұрын
Sure bro..
@sudheerinbloom4 жыл бұрын
Very nicely explained. Keep it up!
@CppNuts4 жыл бұрын
Thanks, will do!
@rakeshmane36175 жыл бұрын
Nice explanation
@CppNuts5 жыл бұрын
Thanks.
@TheMynameismax7 жыл бұрын
Great vid!!
@TheMynameismax7 жыл бұрын
cppnuts will do! Make sure you keep up the fantastic work. Feel like this channel will be really huge
@TheMynameismax7 жыл бұрын
CppNuts lol I honestly mean it, keep going!!!
@rsundeep857 жыл бұрын
Super Bayya...
@CppNuts7 жыл бұрын
+Sundeep R Thanks... :)
@engineersdeskcreativity4 жыл бұрын
Good video. Only suggestion is don't use fake accents be yourself.
@CppNuts4 жыл бұрын
Thanks..
@revanasiddheshwarhiremath92745 жыл бұрын
Ur font is very smalll
@CppNuts5 жыл бұрын
Sorry for that man, i have to cover so much of code in one screen so that people can visualize at once.
@aldrinaldrin46184 жыл бұрын
Great video but calm down.
@CppNuts4 жыл бұрын
Hahahahahah
@aldrinaldrin46184 жыл бұрын
@@CppNuts So you've got awesome videos and a sense of humor. You're my hero.