Factory Method Pattern - Design Patterns (ep 4)

Поділитися
Вставка
  • Опубліковано 15 тра 2024
  • Video series on Design Patterns for Object Oriented Languages. This time we look at the Factory Method Pattern.
    ► The playlist
    • Design Patterns in Obj...
    ► Head First: Design Patterns
    geni.us/nlbA6
    ► Design Patterns: Elements of Reusable Object-Oriented Software
    geni.us/PsXmo
    💪 Patreon Community
    / christopherokhravi
    📚 Products I Recommend
    geni.us/71ZXF

КОМЕНТАРІ • 773

  • @thekonax5006
    @thekonax5006 4 роки тому +313

    This guy is already speaking in 1.5 speed. You are the best Christopher! Thank you

  • @kareemjeiroudi1964
    @kareemjeiroudi1964 3 роки тому +134

    BTW, whenever I need a reference for design pattern, I would actually go back and watch your videos instead of Design Patterns by the gang of four, because you're incredibly good at explaining Object-Orientation concepts.
    Please keep up your awesome work!

  • @ringo.gg.
    @ringo.gg. 7 років тому +165

    Dude you are fuckin amazing, I haven't found any other channel that explains and make clear the concept like you did.
    Hope you make all the g.a.m.m.a patterns on this series, cheers !

  • @FionaCat86
    @FionaCat86 6 років тому +11

    The example in the book confused me to no end, but you described this so clearly. I think the missing piece for me was understanding the power of encapsulating different strategies for object creation. Once I understood that, it all clicked. Thanks so much, I hope you will continue with more tutorials!

  • @Mitch_Crane
    @Mitch_Crane 7 років тому +177

    Thank you Christopher for another helpful explanation on patterns. I cannot imagine how long it takes to edit all these jump cuts. God bless.

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 років тому +45

      Thank you for the kind words and the understanding :) It does take a long time ;) :)

    • @gurtelem3586
      @gurtelem3586 3 роки тому +2

      ​@@ChristopherOkhravi You should use jumpcutter to avoid wasting all this time :-)
      github.com/carykh/jumpcutter

    • @AFPinerosG
      @AFPinerosG 3 роки тому +24

      Guys! Please read this comment until the end, I know it is long but it will be worth your time if you really want to learn. I love these videos but this video is WRONG!
      This is a MISINTERPRETATION of the Factory Method pattern. This is NOT the purpose of the pattern, this is a very common misunderstanding. Be careful. I'm telling you this because I'm reading it from the Gang of Four Design Pattern book, I have it in my hand right now.
      Where did this video go wrong?
      1. When it said that the problem this pattern solves is isolating the complexity of the creation. This is NOT the purpose. Isolating the creation of the objects is the responsibility of the Abstract Factory, not Factory Method.
      2. When he said that a factory method can return several types of Products. No!! The factory method should return a SINGLE Product type (this is a little lie, but bear with me)
      The problem that is solved by this pattern is that the Abstract Creator can't know which Concrete Products should be used by each Concrete Creator, so it let's the Concrete Creators define the type of Concrete Product to be used via a factory method, which is an abstract method (Java).
      Let's say I have a Zoo class (Abstract Creator) and I have multiple types of Zoo: DogZoo and CatZoo (Concrete Creators). I also have the class Animal (Abstract Product) and the classes Dog and Cat (Concrete Products). Also, the Zoo has a List of Animals.
      OK, so let's say the Zoo has a method SpawnAnimal() that creates a new animal and adds it to the Animal List. But... Wait... Zoo doesn't know which type of animal it should add to the list! Does it add a cat? a dog? a parrot? Zoo can't know! So Zoo says "OK I will define a factory method createAnimal() so that my subclasses can tell me which type of Animal they want to use when I spawn an animal".
      So the DogZoo will return a dog in that createAnimal() method. The CatZoo will return a cat. Then when the Zoo calls the SpawnAnimal it creates the new animal with its createAnimal function.
      That's the idea of this method. The ConcreteCreators tell the AbstractCreator which ConcreteProduct to use!!!
      That's why the definition says "let subclasses define the ConcreteProduct". The purpose is NOT about isolating the creation in a separate Factory class!!! The purpose is NOT to allow switching factories on runtime to change from one behavior to another!!!
      Now that I have your attention. I lied when I said that the factory method can only return a single type of Concrete Product. There is actually a variation called the "Parameterized Factory Method" but it requires a parameter to tell the Factory Method which type of object to return in case a Concrete Creator is compatible with multiple Concrete Products.
      Going back to my example it would be something like FarmZoo and CityZoo. The farm zoo is compatible with Dog, Pig and Sheep. The CityZoo is compatible with Lion, Zebra, Hippo and Giraffe. The createAnimal() would now be createAnimal(type). That's it. So now when Zoo wants to spawn a new Animal you can tell it which type of animal to Spawn. But it won't let you spawn an animal that is not allowed.
      Now about the isolation. The Abstract Factory pattern DOES isolate the creation logic, thus, the clients create the factory and expect the factory to return a desired object to them. In the factory method there is NO client that consumes a factory expecting an object to be returned. In the factory method pattern the client of the factory method is the Abstract Creator!! The abstract creator is literally the class that "consumes" the factory method implemented by the subclasses.
      In other words, Christopher has created an Abstract Factory in which the Concrete Factories have a single Factory Method. Keep in mind that Abstract Factory can be implemented as a collection of Factory Methods OR as a collection of Prototypes.
      Please, Guys, I hope you understood this because this is a HUGE misunderstanding in the industry and most Juniors think they understand Factory Method but they really don't, they constantly confuse it with Abstract Factory because even smart teachers get it mixed up.
      I hope this was clear :) If you didn't understand, my advice is to go and read the Design Patterns: Elements of Reusable Object-Oriented Software book.

    • @MorganFreemanIsLife
      @MorganFreemanIsLife 2 роки тому

      @@AFPinerosG omg ur right

    • @jvsnyc
      @jvsnyc 2 роки тому +1

      @@AFPinerosG I regret I can only give this one Thumbs up!

  • @tylerk3130
    @tylerk3130 5 років тому +5

    I really appreciate you going through the logic of "Well why wouldn't we just do xyz", "we don't do that because then...". It really helped make it click that it's not just about being able to instantiate different sub-types, it's also about being able to instantiate them in specific, repeatable ways.

  • @WillEhrendreich
    @WillEhrendreich 3 роки тому

    These are the best explanations of these theories on UA-cam, I swear. Thank you so much for sharing your knowledge with us all.

  • @aliki212
    @aliki212 4 роки тому +2

    Amazing work!Crystal clear explanation, personalized and out of this world editing!I usually put the videos at 1.25 speed to actually keep my ear on them - yours is purely A+!Cheers!!!

  • @AC-xx1uo
    @AC-xx1uo 2 роки тому +1

    Thank you for this!! I’m an absolute beginner with OOP and this is one of the only videos I’ve found that helps it make sense at my level. The visuals and examples are so great. You rock!

  • @guilhermerenna
    @guilhermerenna 2 роки тому

    Your videos are awesome! I have watched them all in the past, and I continuously come back to them and use them as a reference. I can't thank you enough!

  • @justai3766
    @justai3766 3 роки тому

    Your communication style is amazing. The way you explain these concepts is one of the best. Thank you!

  • @SuperTurboCrash
    @SuperTurboCrash 6 років тому +45

    The editing in this video gave me heart palpitations.

    • @ChristopherOkhravi
      @ChristopherOkhravi  6 років тому +29

      +SuperTurboCrash Terribly sorry about that and I hope you are ok :) But hopefully the information per second ratio was quite high?

    • @tomiekk6255
      @tomiekk6255 3 роки тому +4

      actually IMO it was pretty good, at least it's easier to not resign, or fall asleep when something is constantly happening. Perfect for my sleepy day like today:P Thanks @Christopher for this vid. I barely can remember when was the last time I was that much into viewing something on design patterns.

    • @loganfeiler2412
      @loganfeiler2412 3 роки тому

      I actually found it quite entertaining to watch, partly because of all the jump edits, and the subject content was explained very well.

  • @tobylifers3390
    @tobylifers3390 Рік тому +3

    This guy's energy is the best.

  • @BleachWizz
    @BleachWizz 4 роки тому +29

    I think I'm understanding why you're such a good teacher.
    I can't identify how you're doing it, but you manage to move on and explain new things saying the same thing over and over and over again. But everytime you say it there's something new yo realise about it, the way you wrote the script of your videos (or just made them) is amazing.

    • @calexito9448
      @calexito9448 2 роки тому +3

      Yesssss, i love to see the video once again and see that he was explaining the same concept from the beggining but i just did not understand

  • @kaangecir9391
    @kaangecir9391 6 років тому +3

    Mate i just love your attitude :) Learned a ton of things from you. Please keep it going, especially code walks series. It really helps us to look on a broader perspective. Take care!

  • @obinnaubah9045
    @obinnaubah9045 5 років тому +1

    The Asteroid example really helped drive home the point. I'm still not completely clear about a lot of things but I have a lot more clarity. Thank you very much!

  • @safakhan8177
    @safakhan8177 2 роки тому +1

    Thank you Christopher! The example of the game development is brilliant! I think I will always keep that bit in mind whenever I hear the term factory.

  • @KuzyoYaroslav
    @KuzyoYaroslav 2 роки тому

    This is just awesome, I have never thought its possible to explain those patterns so interesting with just white board. Thanks for you work.

  • @nikeshdevaki
    @nikeshdevaki 4 роки тому +2

    Nothing went to my mind when I watched this video for the first time. Then I went back and read this concept on "The Head First Design Patterns" book and then came back here. This time things are very relatable and visualizable. Now I following this method for all the patterns and its very helpful. I suggest the same for beginners.

  • @NoleoTheDog
    @NoleoTheDog 2 роки тому

    Fan of your details and expressions. It can be seen that you do it by heart and how much you love being a teacher.

  • @honey30prachi
    @honey30prachi 5 років тому +2

    i just love your way of explaining difficult things. Seriously these videos are very helpful

  • @hraynaud
    @hraynaud 6 років тому

    Christopher this is awesome. I feel like I always have to review this stuff because sometimes I can't be sure if I truly understand it or not and you make it so clear. Very well done my man!

  • @NB19273
    @NB19273 2 роки тому

    Absolutely amazing tutorial, by far the best on UA-cam! I finally understand the factory patter now! Thanks so much.

  • @andypye4006
    @andypye4006 2 роки тому +1

    Thanks for these videos Christopher. You have a superb, enthusiastic delivery style !

  • @yanavalasatava9465
    @yanavalasatava9465 5 років тому

    You are amazing and very charismatic (which is important) teacher! For someone who is new to programming and patterns your videos are of a great help! Thank you!

  • @hereusername
    @hereusername 4 роки тому +1

    Very clear explanation!
    I haven't found any other channel or video that explains the concept like you did.

  • @paraspatel5763
    @paraspatel5763 3 роки тому

    This was by far the best explanation of factory method pattern I found on YT. Thanks.

  • @elinorkent7188
    @elinorkent7188 4 роки тому +1

    the best tutorial for this. watched many, but now i actually understand it.

  • @stewiegriffin6503
    @stewiegriffin6503 6 років тому +391

    without animals and cars there wouldn't be OOP
    Every try to explain OOP uses animals and cars.

    • @kimk.m2428
      @kimk.m2428 5 років тому +2

      Duh! Mammal enough?

    • @jason_v12345
      @jason_v12345 5 років тому +14

      I know, right? And what's funny is that real-world OOP rarely deals with such familiar, real-world abstractions.

    • @madsteeez
      @madsteeez 4 роки тому +8

      without OOP there wouldn't be animals nor card.

    • @madsteeez
      @madsteeez 4 роки тому

      @@jason_v12345 I do. I work for Lufthansa Technik. I abstract aircraft engines.. I love it

    • @darkoazure9902
      @darkoazure9902 4 роки тому

      Great catch! But I'm not :)

  • @matthewkillgallon5597
    @matthewkillgallon5597 5 років тому

    I think I will use this series for the apprenticeship scheme we run in my company.
    It's very good!

  • @kuntalshah07
    @kuntalshah07 6 років тому

    Dude, This is the best design pattern lecture series I saw till now

  • @cdmapplications
    @cdmapplications 7 років тому +4

    Thank you so much for your time! Cant wait for the next one!

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 років тому

      Thank you! :) Will make sure it comes sooner than later this time :)

  • @OritNeeman
    @OritNeeman 3 роки тому

    YOU ARE AWESOME!!! Thanks to you I now REALLY understand design patterns. Everything you teach is so clear and it's fun and interesting to learn from you. Thank you so much. You are the best.!!!

  • @mbesurich
    @mbesurich 2 роки тому +7

    This is the best explanation of this pattern! What could be better? Personaly for me - to show an example of what different way of creating products can contain different factories. This could help me to understand more clearly the benefit of using factories versus creating straight the products. But anyway, thank you very much for such understandable information delivery!

  • @Crazycannibalelf
    @Crazycannibalelf 2 роки тому +1

    These are such fantastic videos, you have a true talent for teaching! Thank you so much for making them!!

  • @omiddehghan5731
    @omiddehghan5731 4 роки тому

    I love the way you explain design pattern! I really do. great job.

  • @nishantsingh1453
    @nishantsingh1453 6 років тому +1

    The way u hold on to user's attention level is just impressive !!

  • @TheRedjinator
    @TheRedjinator Рік тому

    This! This is the pace and explaination I need. Absolutely fantastic job! 😁

  • @SavageStyle77
    @SavageStyle77 6 років тому

    Looks like you high but I was surprised how clearly you understand what people need to know, what they struggle with - all your examples are TOP. And how clearly you explaied everything! One of the best teachers I ever saw. Recommended!

  • @gregridd
    @gregridd Рік тому

    You are a great teacher Christopher Okhravi!

  • @mirzaaqeel
    @mirzaaqeel 3 роки тому

    You are a teacher.... Hats off to your way of explaining and fitting in examples... perfectly....Thanks a lot.

  • @ManishKumar-gn1xm
    @ManishKumar-gn1xm 6 років тому

    Hey Christ! I realy liked your all the design pattern series. You way of explaining thing is really really great. While explaining you always make sure touching all the corners and make subtle point clear. You understand each concepts very clealy and make sure it passes well to audience which is amazing. I had a teacher who passed me Mathematics like same way and which actually brought interest in Mathematics. I am finding the same experience once again. Keep it up.

  • @mattotoole4327
    @mattotoole4327 6 років тому

    Really, really good explanation. Loving this series.

  • @shubhamsingh-nd6wo
    @shubhamsingh-nd6wo 2 роки тому

    Thank you so much man. Every single video of yours makes me feel like I found a gold mine!

  • @stormybear4986
    @stormybear4986 6 років тому +1

    I love that book and I enjoyed your presentation on factory patterns.

  • @wearemiddream
    @wearemiddream 2 роки тому

    i've been trying to understand this for a minute and you just nailed it dude, thank you!

  • @TheFlyguy31
    @TheFlyguy31 6 років тому +1

    You have the best intro's on UA-cam..They always make me laugh..lol

  • @kenya6749
    @kenya6749 5 років тому +1

    This helped SOOO much before my exam tomorrow! THANKS!!

  • @colococolo
    @colococolo 5 років тому +1

    A 100% agree with you on that the example the book gives is rather hard to relate to. Your explanation helped me understand the factory patterns much better. Thanks a lot!

  • @clearlyunwell
    @clearlyunwell 4 роки тому

    Excellent. Engaging, beautifully explained, and a joy to learn from. Thank you so much 😊

  • @DominikRoszkowski
    @DominikRoszkowski 7 років тому +1

    Thank you, your videos are amazing and you have an exceptional teaching talent. This is really interesting how such simple idea can be used in so many powerful ways. Thanks again!

  • @IamMuldeh
    @IamMuldeh 6 років тому +4

    Going to recommend your channel to all of my class mates.

  • @jagmagana
    @jagmagana 6 років тому

    Thanks for this design patterns series, i downloaded all videos because i cant lost this treasure...

  • @tomaszwnuk7998
    @tomaszwnuk7998 6 років тому +1

    I'm glad I found your channel. Great explanation.

  • @luisfelipedasilva7128
    @luisfelipedasilva7128 2 роки тому +1

    You´re incredible, man. The way you teach is awesome. I can´t get away from the video, i just want to watch more and more

  • @TheMA5B
    @TheMA5B 3 роки тому

    I love the editing! Great explanations, thank you!

  • @eduardojreis
    @eduardojreis 3 роки тому +1

    Great series, I am really enjoying it! I am going to recommend this series to my webdev students.

  • @jess_o
    @jess_o 4 роки тому

    A thumbs up isn't enough, just had to tell you that this is a fantastic video and you do a great job of explaining these concepts and the needs for them.

  • @pionapior
    @pionapior 7 років тому +207

    Like before a watch because you are a legend !

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 років тому +10

      :D

    • @ecsweb-studio2732
      @ecsweb-studio2732 6 років тому +9

      That man is amaizing
      he is real great actor.
      Holywood is mising real great actor.

    • @aymansafi2998
      @aymansafi2998 6 років тому

      let hem here dude so he helps us in programming stuff :D

    • @gytisdobrovolskis5933
      @gytisdobrovolskis5933 5 років тому +1

      Goddamn the factory pattern is already quite complicated here. And now I checked on some pluralsight tutorials - and there are a lot more complications, pitfalls and ways to do it. I think I will skip this pattern for now.

  • @alexandernava9275
    @alexandernava9275 6 років тому

    I love your teaching above all others I have found! and I have watched probably five peoples stuff. Clearest definitions, great explanations, amazing diagrams that drive home the point, and you do amazing at putting everything in real understandable terms! Also your editing style is strange, but it works very well to keep my attention.

  • @nishanckarunatillake3361
    @nishanckarunatillake3361 7 років тому +5

    Hi, I think this is a fantastic set of tutorials. I found it really useful. Hope you will find more time and energy to progress though the book quickly and not give up.

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 років тому +1

      Thanks for the encouragement! I'm very glad they're useful. Will try my best indeed.

  • @mouhssine04
    @mouhssine04 Рік тому +1

    Hello Christopher, you've really made my day, your explanation is quite stunning, great thanks for you mister, From now on, no confusion anymore about Factory Method Pattern.

  • @naila7765
    @naila7765 5 місяців тому

    Best explanation of design patterns I found. Thanks!!!

  • @mercury801115
    @mercury801115 2 роки тому

    I finally understood the difference between simple factory and factor method. Thank you!

  • @extravaganza69
    @extravaganza69 5 років тому

    Thank you for the lectures, I usually watch them after I read few chapters to confront my thoughts with yours and get a second opinion :). Always helpful, although I don't always agree. Best wishes

  • @alexanderaphonin7850
    @alexanderaphonin7850 Рік тому

    Another great explanatory video! Thanks for the great work Christopher!

  • @mohitvalechay
    @mohitvalechay 4 роки тому

    Thank you for your videos Christopher. You're a great teacher...keep them coming on new topics as well....kudos!

  • @harshadakhandekar4607
    @harshadakhandekar4607 4 роки тому

    Thank you so much Sir. Incredibly easy explanations to such tough design patterns. Respect !!!

  • @Tanya_5091
    @Tanya_5091 6 років тому

    Why haven`t I found this channel earlier? So useful, the best explanation ever

  • @mydexcicdeja
    @mydexcicdeja Рік тому

    Excellent thank you for the clarity in your explanation and reconfirmation during the session

  • @carsonmiller2701
    @carsonmiller2701 3 роки тому

    Absolutely fantastic video- explained ridiculously well. Thanks so much!

  • @Krishna-ig7gp
    @Krishna-ig7gp 6 років тому

    Awesome energy with great explanation!Thanks.

  • @talyakatz8387
    @talyakatz8387 3 роки тому +1

    Im a CS student and you explain it 10000x better than my lecture. Thank you!!!!

  • @sahilgupta5546
    @sahilgupta5546 2 роки тому

    I really like your way of explaining. Hope to stick through all your videos, sir!

  • @behnamrasooli8801
    @behnamrasooli8801 6 років тому

    I've been looking for such a great explanation for a loooooong time. Thanks for sharing :)

  • @gubasso
    @gubasso 6 років тому +2

    You are amazing!!! One of the best teacher I've ever seen!!!! Congratulations!!! And keep the awesome work!!!

    • @ChristopherOkhravi
      @ChristopherOkhravi  6 років тому +1

      Thank you for all the exclamation points :) :) I’m very glad to hear :) Thanks for watching :)

  • @jaycoleman1143
    @jaycoleman1143 3 роки тому

    Outstanding instructor. Thank you so much for doing what you do. We said/presented/explained.

  • @yorgoslamprakis1542
    @yorgoslamprakis1542 6 років тому

    I am glad I found your channel. Thanks for your effort!

  • @saadbinkhalid4208
    @saadbinkhalid4208 4 місяці тому

    Bro your explanations are great. I am glad I came across this playlist. You're doing great work

  • @matiaszulberti3440
    @matiaszulberti3440 Рік тому

    🤯Thank you so much Christopher! Now is time to apply it 😱

  • @ameedsayeh1561
    @ameedsayeh1561 5 років тому +2

    Man ! I owe you a lot. Thank you so much

  • @zebcode
    @zebcode 6 років тому +2

    I'm learning things I thought I already knew! Thank you!

    • @ChristopherOkhravi
      @ChristopherOkhravi  6 років тому

      I'm glad to hear :) Thanks for sharing the comment, and thanks for watching :)

  • @aniruddhabhattacharjee3729
    @aniruddhabhattacharjee3729 3 роки тому +1

    I came here after going through the HFDP book and somehow although having gone through the pattern twice, it was not very clear to me. It's a great content, 27 mins worth every second, gives a very clear idea going from top down approach to the design pattern. Very well explained, thank you.

  • @russiafromtheinside2776
    @russiafromtheinside2776 4 роки тому

    It worth watching not even for pattern understanding but for the plot. I was like - wow, what's going to be next with these asteroids and animals? Your expressions are just amazing. Thank you very much. Subscribed.

  • @asrajan55
    @asrajan55 6 років тому

    Excellent, excellent, excellent lecture! Takes the time to introduce, repeat, cite examples, repeat.... No stupid power point slides... Talks to you and uses his hands and mouth to clearly explain...

  • @jaydigging2009
    @jaydigging2009 6 років тому

    Great video and explanation, love your style of teaching!

  • @joaolima7194
    @joaolima7194 3 місяці тому

    Congratulations my friend! Every class I am more interested in design patterns and impressed with your control of the topic and the way you teach! Thanks a lot for all your classes, I will see all your series about design pattern and try improve my knowledge

  • @thecurlykale
    @thecurlykale 5 років тому

    just want to say i really enjoy your videos! :) thanks for putting them together.

  • @ANKITRAJPUT-tu2bk
    @ANKITRAJPUT-tu2bk 6 років тому

    Brother , you are the best tutor for design pattern , i was facing so much difficulty with Head first , but now i got a new head to make me understand .. Thanks and keep the good work.

  • @dark808bb8
    @dark808bb8 3 роки тому

    I think it is really interesting how you show that various types of creators and products can reduce to a few creators and products with different properties.

  • @rohitkalya
    @rohitkalya 3 роки тому

    Very much clear and now i understand why you said ... read first "strategy design pattern". Thanks

  • @lima1877
    @lima1877 7 років тому +230

    Just a positive comment: would be nice if you could implement these patterns into actual code after the lecture. Please release more videos!!!! Best..

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 років тому +42

      Very good point. Thank you. I'll keep videos as priority number one but will indeed try to figure out something for the code. Thanks!

    • @pradeeph2000
      @pradeeph2000 7 років тому +21

      May be the coding part could be an assignment for people viewing the video, it could be shared via github link or something.

    • @zebcode
      @zebcode 6 років тому +11

      Or maybe each video could be accompanied by a play by play coding session. I think that would give you the choice of learning the theory and then seeing it in action.

    • @bwilless1
      @bwilless1 6 років тому

      Also the book has code and it attempts to lead you down the path so that you code it yourself!

    • @zondaken
      @zondaken 5 років тому +2

      im currently doing it :) still need to figure out how factory and abstract factory work :D

  • @emmanuelvega1509
    @emmanuelvega1509 3 роки тому

    Thank you. Your explanations are in depth and insightful.

  • @noknata3240
    @noknata3240 Рік тому

    i love you i love the way you teach you. You make complex notion ease and you english and exemple are simply and basic. good job

  • @user-np4hj8gr2i
    @user-np4hj8gr2i 3 місяці тому

    I love that you move so much while speaking, it helps me get less distracted
    THank you for your explanatoin, it was really useful and easy to understand!

  • @mohanhegde
    @mohanhegde 4 роки тому +1

    Beautifully explained 👍👍👌👌😀👏👏. Love this head first design patterns playlist series dude! Thank you soooo much 🙏🙏

  • @sshanzel
    @sshanzel 4 роки тому

    A very clear and concise explanation.
    I'm so happy after watching your vid that intuitively i implemented factory pattern without realizing it. I mean the idea behind.
    But basically it helped me reduce duplicated code (copy pasting then tweak a bit about the other about) just because things were behaving the same way, i though of something that will create them but based in a configuration that is set for the subject.

  • @balar7
    @balar7 4 роки тому

    Your editing game is on point. Well done.

  • @lapidations
    @lapidations Рік тому

    This was SO much better than the book

  • @TheMcallist1
    @TheMcallist1 3 роки тому

    Great video again! Thanks! I felt the same about the example used in the book.