Factory Design Pattern - Why and How with Code!!

preview_player
Показать описание
It’s the most common one - I have actually used it at work many times😎

I haven’t recorded the next video yet, waiting for your feedback. Please do let me know how you find the whole video- example, code - would you like me to change anything?

Always wanted to teach this, it’s finally happening 🤞😇

𝐂𝐡𝐞𝐜𝐤𝐨𝐮𝐭 𝐂𝐫𝐢𝐨 𝐚𝐧𝐝 𝐠𝐞𝐭 𝟏𝟎% 𝐝𝐢𝐬𝐜𝐨𝐮𝐧𝐭 𝐮𝐬𝐢𝐧𝐠 𝐭𝐡𝐢𝐬 𝐥𝐢𝐧𝐤-

You can get 𝐃𝐈𝐒𝐂𝐎𝐔𝐍𝐓𝐒 using code "KEERTI" -

You can also connect with me on-

𝐂𝐡𝐞𝐜𝐤 𝐨𝐮𝐭 𝐭𝐡𝐞𝐬𝐞 𝐩𝐥𝐚𝐲𝐥𝐢𝐬𝐭𝐬-
𝐃𝐞𝐬𝐢𝐠𝐧 𝐏𝐚𝐭𝐭𝐞𝐫𝐧𝐬 -
𝐇𝐨𝐧𝐞𝐬𝐭 𝐂𝐨𝐧𝐯𝐞𝐫𝐬𝐚𝐭𝐢𝐨𝐧𝐬 -

The video contains following parts-
0:00-0:23 - Intro
0:23-0:53 - Crio Promotion
0:53-1:33 - Example task
1:33-4:20 - Code for example
4:20-7:34 - Code works!
7:34-9:30 - Why we need factory
9:30-13:11 - Factory Code
13:11-14:40 - Code works with factory!
14:40-15:24 - Recap!
Рекомендации по теме
Комментарии
Автор

Loved the way you explained the concept by taking an example and Step by step writing the code, talking about its disadvantages, and then coming to a solution by demonstrating the importance of Factory Method.
Waiting for your upcoming videos.

premanshdewangan
Автор

There are plenty of resources for Design patterns in java and python on the internet but very few good resources for C++. This Design pattern series is like an oasis in desert for C++ developers. Thank you so much Keerti.

RaunakShrivastava
Автор

I'm a c++ developer and was struggling to know the concept, believe me this is the best explanation I could find on YouTube. Thanks for the video

abdulshahid
Автор

A great series to start really since there is so less quality content available on design patterns. Looking forward for next videos!
One feedback, I feel many of the beginners must be struggling with the C++ commands to create excutable cpp files and archives or libraries. A brief explanation on those commands in the beginning of the next video or a separate video would really help.

arjungupta
Автор

You have to provide the pre requites to start this series.
These things might not be known to everyone, considering myself to be an average student who has studied OOPs in C++.
1. Code in header file. (How to write like #ifndef, etc).
2. Less clarity of how many files already created and why?
3. Everything was overwhelming. Should be slow and creation of files should be shown so that one can follow along.
4. commands needs to be explained of the terminal.

Idk about the rest but these are my honest opinions.

Shourya_performs
Автор

At 4:25 we see that in our directory we have 6 files, bike.hpp/cpp; car.hpp/cpp; vehicle.hpp/cpp.But upon following the lecture from 1:35 till 4:25 we see that "vehicle.cpp" was never created, we only worked with "vehicle.hpp" throughout the mentioned time-range.What's inside "vehicle.cpp" ? then.Also At 5:10 while creating the library archive "vehicle_library.a", "vehicle.o" was not put into it just like "car.o" and "bike.o" were put. Was it intentional or a miss ? Same happened from 13:55 onwards while creating a library for "smart_client" i.e we didn't put "vehicle.o" into our library.Please shed some light on these points.

jatinsaini
Автор

Start of much needed series. My interviews are coming up so I don't know how much it will benefit me but this is a great start.

akhilsharma
Автор

This was an amazing lecture. Superbly explained, all doubts cleared. Please ma'am explain all the possible design patterns. Really looking forward to this series. 👍

SauravKumar-vjks
Автор

I use this in most of my projects. I didn't know it was called factory method.
Thank you for teaching.

mahtube
Автор

Wow!! for new viewers, this is a knowledge heavy 15 min video, it took me like 2 hours to consume this and actually gain a lot of knowledge from this. If you are into C++, then this is actually a must watch for you.

harshchandwani
Автор

Thank you so much for explaining the Factory Design Pattern so simply.

SouravChakraborty-
Автор

Thank you so much. I have been searching for many tutorials to know about design patterns in c++. I’m lucky that I came across this Vedio. Your explanation is simply superb

gouthamzz
Автор

I used to find Design Patterns Challenging whenever someone mentioned them. However, after watching your videos, I realized I was wrong. Thank you, Keerti—your content has truly made a difference. Wishing you all the best😃

kavyag
Автор

Serious ly u have explained the concepts very clear.. till date I was using all this in my code without knowing why.. superb..

swaathimeiyappan
Автор

Just waao Di, got it very easily, i have been reading the online vlogs and tutorials and always i was getting confused and not clear to but this video made everything super easy ♥️💯

One request, please complete this Playlist as soon as possible please 🙏 💜

roushanraj
Автор

Hi Kriti,
I'm learning design patterns for the first time and I found some challenges in your video like you directly moved into the practical implementation and had not tell that for what purpose it is used So I have to go somewhere else to understand that then I come back to your video. So please look into this issue.
While the remaining explaination is really good.
Thanks

tusharchaudhary
Автор

Nice explanation.. the way you explained the concepts of factory pattern is different than others (through library creation)..hoping for more videos..
for remaining patterns advantages and drawback of using that pattern can also be discussed

nageshpoojary
Автор

Really well explained i have seen multiple videos couldn't grasp the concept but u nailed it thanks a lot please do more video like this

cousinskitchentamil
Автор

thanks..!! your way of presention is awsome...getting desigin patterns in new and detailed wayy!!😊

shankarBinnar-xlen
Автор

Great explanation. Thanks a lot for doing this design pattern series !!

mdluffy-rm
visit shbcf.ru