Strategy Pattern - Design Patterns (ep 1)

Поделиться
HTML-код
  • Опубликовано: 19 май 2024
  • Video series on Design Patterns for Object Oriented Languages. This time we explore the Strategy Pattern.
    ► The playlist
    • Design Patterns in Obj...
    ► Head First: Design Patterns
    geni.us/nlbA6
    ► Design Patterns, by Gang of Four
    geni.us/PsXmo
    ► Mentioned: Sandi Metz - Nothing is Something
    • RailsConf 2015 - Nothi...
    💪 Patreon Community
    / christopherokhravi
    📚 Products I Recommend
    geni.us/71ZXF

Комментарии • 1,7 тыс.

  • @vaibhav4196
    @vaibhav4196 4 месяца назад +58

    Just stumbled upon this gem in 2024, and 8 years down the road, this video remains an absolute treasure! The explanation is beyond awesome - PURE GOLD! 🌟 Grateful for the timeless content! 🔥

    • @bobbob-gv1ev
      @bobbob-gv1ev 7 дней назад

      If you want a text version the examples are taken from Head First: Design Patterns -- excellent read

    • @miguelcerne1150
      @miguelcerne1150 6 дней назад

      Me too, man! I always wanted a good and simple material to guide me through Design Patterns, this is just GOLD.

  • @regevson2244
    @regevson2244 7 лет назад +770

    please keep on with this series. Your explaining is sick!

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад +62

      Thanks. I'll be sure to :)

    • @aaraksheet1
      @aaraksheet1 6 лет назад +9

      "Sick" is used as an inverted meaning.

    • @mgrycz
      @mgrycz 6 лет назад +1

      Thanks, captn!

    • @TJ-zs2sv
      @TJ-zs2sv 6 лет назад +1

      explaining is sick.....???? Really?

    • @ke9n
      @ke9n 6 лет назад +9

      Yeah best, most understandable videos I've seen and the lighting is intimate like we're right there in the room and he's explaining it simply like an awesome friend lol

  • @TheMentalGentelman
    @TheMentalGentelman 3 года назад +231

    I cannot stress enough how good this video is. A lot of tutorials don't bother editing the empty space between sentences, but you do. Props, and I hope your future is bright.

  • @zanarkdev3904
    @zanarkdev3904 2 года назад +65

    This playlist is almost 5 years old and yet it is THE BEST playlist/video on Design Patterns. Thank you so so much for making everything so easy to understand.

    • @ahmedhany8339
      @ahmedhany8339 6 месяцев назад +3

      almost 7 years now, still the best

  • @EspatiallyGood
    @EspatiallyGood 3 года назад +43

    Chris! Total Legend!! Your technique for taking cold "text book" definition, and turning it into something human and understandable is utterly brilliant. Wish I had a tutor or mentor like you to learn from. Thank you so much for dedicating your time to make these video's. I subscribed, liked, and will spread the word to my dev team.

  • @gigajoules6636
    @gigajoules6636 5 лет назад +8

    I love your energy. Such a refreshing change from staring at a visualstudio window for hours

  • @Roxarras
    @Roxarras 3 года назад +19

    This playlist really helped me during my studies.
    Now, after finishing my studies and coming back to this playlist to refresh my memory, I can see I have forgotten quite some things.
    Thanks again for making me learn and having fun while doing it!

  • @Sapphiamur
    @Sapphiamur 3 года назад +150

    ooh, i love your explanation! perfectly understandable and showcasing where the pattern helps with examples. thank you so much!!

    • @dnbndu
      @dnbndu 2 года назад +1

      I Love your Girlfriend.

  • @cameronsin1942
    @cameronsin1942 6 лет назад +193

    Broooo! if you were a professor in my school, i'd add all your classes in a heartbeat. Thanks for all the great videos. Subscribed and best wishes!

    • @lucas_badico
      @lucas_badico 5 лет назад +3

      @johngreen said something like this... He is a professor. @Christopher, a professor that we choose to listen and follow. This take us back to the begining of the master and aprendiship relations. Where the student choosed the master and the master choosed what will became of your teachings.

  • @ievgeniiiablonsky1161
    @ievgeniiiablonsky1161 7 лет назад +90

    That's is great! I've started the video just to watch it for a few minutes, just to check it out and watch it later. But I couldn't stop, it is so good! I love how you explaining, it looks like you are obsessed with it and it's great. Please continue doing that!

  • @oluwatobitobias
    @oluwatobitobias Год назад +8

    This is making the top ten best educational content on RUclips for me... this method..."break down the teaching from a reputable book"

  • @ahnmichael1484
    @ahnmichael1484 4 года назад +86

    Honestly thank you thank you thank you - I feel like crying right now at how much I *didn't* understand at the beginning of the video and how confident I feel now at the end of the video.

  • @Arkatori
    @Arkatori 4 года назад +25

    i love how he teaches AND his accent! I was smiling so much

  • @dangascoigne6678
    @dangascoigne6678 Год назад +10

    You are the first person I've come across on RUclips that simply and atriculately explains dependency injection. Thank you.

  • @atobatele
    @atobatele 4 года назад +4

    You are a gifted teacher. You break down complex things to very simple relatable bits. I hope you keep these videos coming.

  • @YazanAlaboudi
    @YazanAlaboudi 4 года назад +6

    Watching this was a blast! Thank you so much for this video. I'm looking forward to the rest of the series. Great job stressing on semantics. I think we need to further emphasize on that in our dev communities

  • @whitodev3472
    @whitodev3472 7 лет назад +9

    now this is how you do a design pattern lecture, I understood everything! Thank you so much!

  • @javierperezsanchez6601
    @javierperezsanchez6601 6 лет назад +11

    This is hands down the most thorough explanation I have come across in a long time. Congratulations dude. This series is just awesome.

    • @ChristopherOkhravi
      @ChristopherOkhravi  6 лет назад

      +Javier Perez Sanchez :D thank you for the very kind words and for taking the time to share them. I'm super glad it's useful :)

  • @andiespencer854
    @andiespencer854 Год назад +2

    This is the best explanation i've gotten throughout all my pattern researches on youtube. The explanations are so detailed as though it was done under the assumption that the views are new to design patterns overall which is honestly the best way.

  • @xFailGameR
    @xFailGameR 3 года назад +4

    For years I've been searching for a good design patterns course, luckily RUclips recommended your videos and finally I am able to understand, keep going man, you helped me a lot. I was afraid that you quitted RUclips like every other programming teacher, after seeing this video was uploaded 3 years ago 🤛🏻🙏🏻

  • @satyendrakumarsharma3513
    @satyendrakumarsharma3513 7 лет назад +57

    Thanks Christopher!
    Your way of presentation is so expressive, it feels that the knowledge is being 'injected' into the mind.
    Please keep posting similar videos over other topics of Computer Science.

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад +2

      +Satyendra Kumar Sharma haha :) Thanks. I will indeed do. And thanks for watching.

  • @BinarySymphony
    @BinarySymphony 7 лет назад +197

    Very nice videos. The way you explain makes people sit and listen what you are speaking. That's very good. Also, you can give the ducks the power to be invisible. lol...

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад +24

      Thank you very much for taking the time to comment. It makes me very happy to hear.
      About the ducks... you are the invincible programmer and only your imagination shall dictate the limits of your force. I support your invisible ducks :)

    • @ninakoch1799
      @ninakoch1799 2 года назад

      @@ChristopherOkhravi thank you so so much for this absolutely amazing video series on design patterns!! took a course at my university about this but never fully understood the design patterns until i binge watched your videoseries!! your are awesome!

  • @crystalkewe
    @crystalkewe 2 месяца назад +6

    Finally, one of those odd times RUclips actually recommends something of use! THANK YOU!

  • @yogita_garud
    @yogita_garud 2 года назад

    This series is amazing. Wouldn’t have been able to continue studying the design patterns without this series. It’s so clear and easy to understand explanation. Thank you for making these videos.

  • @BuildEver
    @BuildEver 5 лет назад +30

    I'm glad RUclips recommended me this video!

  • @Ish-YouTube
    @Ish-YouTube 4 месяца назад +3

    In the middle of the video I just stared at your messy board and went crazy by the fact I understood every single word and every messy arrow!!!
    How did you do it??? Man you're blessed, you're a perfect teacher!

  • @ryanm.9326
    @ryanm.9326 4 года назад

    Love your teaching style. I have struggled trying to understand a lot of these concepts, but the way you break them down makes it a lot easier to understand than other books and videos I have tried. Many thanks to you!

  • @connietranhedberg5251
    @connietranhedberg5251 2 года назад +1

    I've spent so many hours trying to understand how to apply the strategy pattern. Thank you for both explaining it with UML and pseudo code - makes the whole difference!

  • @naeroforceofficial
    @naeroforceofficial 4 года назад +11

    This is a super playlist. As a complete newbie to design patterns I was lacking of some basics, you made me understood the Strategy Pattern, Interfaces, UML and also some hints on naming... In 30 minutes. Thank you!

  • @antagonisticapple9466
    @antagonisticapple9466 3 года назад +115

    My entire family was brutally savaged by a mountain duck. Your casual attitude toward their attacker is an insult to their memory.

    • @BinGanzLieb
      @BinGanzLieb Год назад +3

      did your entire family see this video?

    • @gdeveloper3309
      @gdeveloper3309 Год назад +7

      The mountain duck must've messed up his whole family hierarchy

    • @AidenElliott-ff2vt
      @AidenElliott-ff2vt 5 месяцев назад +1

      My dad crossed paths with a cloud duck, he is no longer with us. RIP your family, I hope you can find peace.

  • @goffredo81
    @goffredo81 4 года назад +1

    coming from javascript, and having read a lot of different articles over this subject, i can say that your explanation about design patterns in OOP is so far the clearest explanation that can be found online. You did a great job. Thank you!

  • @akshitarora470
    @akshitarora470 Год назад +1

    Can't thank you enough man! I had a design problem to work at somone suggested to use strategies to solve it and I was totally blank! This has given me a great prespective. Going to watch the entire series, one pattern a day is the aim!
    Thanks again!

  • @Codefortyseven
    @Codefortyseven 4 года назад +7

    If only I would've received this level of explanation and visualization while I was in the university, my knowledge and understanding of these patterns would be so much better. I'm lucky that the poor quality of education was still able to land me a job as a software developer, which I've been doing as a profession for over 5 years now, but I'll be watching this series through because I think I would learn more from these videos than I did in the university. I'm trying to be optimistic it's still not too late to expand and deepen my knowledge.

  • @cuonginfosys
    @cuonginfosys 7 лет назад +37

    Great effort! You simplify the difficult things. Really appreciate your work!
    PS: Looking forward to your next videos

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад +3

      Cương Tạ Văn thanks! I appreciate you taking the time to comment :)

  • @NotTouchable
    @NotTouchable 3 года назад

    Never underestimate the power of your videos! Thank you for taking the time to teach, I found this very helpful and look forward to the rest of your series.

  • @ayushsharma1943
    @ayushsharma1943 3 года назад +2

    bro, where were you till yesterday. I found this video a few years too late but I am glad I found them. such a perfect and simple explanation. I had that "aha so that's what it meant" moment.

  • @michaelhaddad2190
    @michaelhaddad2190 7 лет назад +3

    I'm 10 min into the video, and I am speechless. You are AWESOME!

  • @user-se5ub7ft1o
    @user-se5ub7ft1o 4 года назад +229

    When you're said introduction, I heard introDUCKtion😂

  • @Cube2deth
    @Cube2deth 3 года назад +1

    What an amazing series!
    I was not understanding anything in those formal terms found on different text tutorials but you made is so simple!

  • @bernong1
    @bernong1 2 года назад

    This is the clearest explanation I have ever seen. What I needed was to understand how the design came about and how it is implemented and how the implementation works. You hit all these points so clearly. I have struggled understanding design patterns for years, how they are implemented and works. Keep it up. Super clear, concise.thank you. 10 stars!

  • @terigopula
    @terigopula 2 года назад +4

    Legend spotted ❤️
    your content is 100% worth paying for. Kudos to you to make it available for free. U rock Chris 💜😄

  • @antoniadieterich72
    @antoniadieterich72 3 года назад +9

    This was the best explanation of the strategy pattern I've heard so far! When you explain it, it suddenly seems easy!

  • @ZigzagKazak
    @ZigzagKazak 6 месяцев назад

    I love your lessons. Fast, clearly articulated, concise. 10/10

  • @riserrad
    @riserrad 4 года назад

    Thanks for sharing, Christopher. I'm glad we have people willing to teach with such energy!

  • @mikesmale1853
    @mikesmale1853 5 лет назад +22

    Well, that was 30 minutes well spent, thank you!

  • @_Zephon
    @_Zephon 5 лет назад +10

    Simply amazing.
    Start studying design patterns here and your channel is awesome.
    Excelent explanation. :)
    Greetings from Brazil o/

  • @azolee
    @azolee Год назад +1

    I really like the way you present these DP's. Your videos are a source of inspiration for me, on how to present these DP's for junior/mid devs.
    Thank you, keep up the good work!

  • @ZealGames
    @ZealGames Год назад +1

    You have a great way of concisely integrating examples into a lesson without understating the examples' complexity. Thanks 👍

  • @Ryuk3027
    @Ryuk3027 5 лет назад +5

    I wish I had a co worker like you ! Amazing video, so much clarity, depth with examples and yet so simple :) I'm going to watch other videos like it were a season of Game of Thrones :D
    One suggestion though, I was really hoping to see an example code of how I'd actually instantiate the Duck class now through code since I have all the options for composition.

  • @quintonwilson8565
    @quintonwilson8565 3 года назад +4

    I read Chapter 1 from the book and I'm watching this video..... HOLY FUCK, YOU'RE PHENOMENALLY GOOD at breaking things down and explaining them.

  • @RajivBandaru
    @RajivBandaru 4 года назад

    Hands down the best series of videos on design patterns. Referring to his videos I have been able to clear my design patterns examination with flying colours. I would recommend his series anytime to anyone. Thank you Christopher Ockhrawi for this wonderful series...

  • @mandeepmann1835
    @mandeepmann1835 3 года назад

    Just started looking at design patterns for interviews and am a little confused. Then came across your videos and they are amazing. Clearest and most simple explanations out there. Godsend!!

  • @mihailpopa3056
    @mihailpopa3056 7 лет назад +9

    Good job! I like your comments and especially your references. Sandi Metz is indeed an excellent OOP advocate!

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад

      Thanks! :) I agree. She's got some really inspiring talks. The "Nothing is Something" talk is on my mental list of top programming talks. In the sense that so many things just suddenly "clicked" for me.

    • @marekbugiel6893
      @marekbugiel6893 4 года назад

      @@ChristopherOkhravi Mind sharing rest of the list? :) Seems like something I'd like to know. Thanks for the vid, great job!

  • @TheLucidway
    @TheLucidway 3 года назад +6

    I had that 'aha' connection while watching this. Thanks man.

  • @xevigraham1742
    @xevigraham1742 4 года назад +2

    I've seen less than a second of the video but I already love this guy.

  • @israelkariti280
    @israelkariti280 Год назад +1

    Your passion to the subject is contagious. Very well presented

  • @1993wik
    @1993wik 4 года назад +3

    Damn, that was amazing. Thank you, Christopher!

  • @Resok
    @Resok 7 лет назад +4

    Great video, thanks for the detailed and well articulated analysis!

  • @BM-jy6cb
    @BM-jy6cb 2 года назад

    This whole series of videos is fantastic. I would glaze over instantly reading the likes of that paragraph in the book, but completely understand this (and other) patterns thanks to you. Also many chuckles along the way. Thank you so much.

  • @sunnyshang4350
    @sunnyshang4350 4 года назад +1

    Your explanation is soooo good. I do not come from a CS background and recently was recommended by a friend to read this book, head first design patterns. I read this part of the book twice and was still digesting it. But your video made it all make sense. Really want to let you know how meaningful your video is for me and people like me. Thank you

  • @nguyenxuanson-fgwhcm3471
    @nguyenxuanson-fgwhcm3471 4 года назад +31

    Not being able to fly is a flying behavior, I laughed so hard at this part

    • @halivudestevez2
      @halivudestevez2 2 года назад +2

      I learnt that point of view for 4 years at the college... zero distance is a distance too, empty set is a set too....

  • @JAIDEEPMEISTER
    @JAIDEEPMEISTER 7 лет назад +5

    Great video !!! Desperately waiting for the other patternssssssssssss .. 12 of them

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад +1

      +Singh haha thanks! Glad it's useful. More coming next week! :)

  • @unicode3402
    @unicode3402 3 года назад +1

    It's 2021 and this video was super interesting and easy to understand. I like the way you explain, simplify, exemplify and try your best to let us learn, and then even revisit the definition from the start of the video to showcase how much we've learned to this point, that it is now possible to understand the definition and it's meaning in programming. Thank you, this is actually pretty good, as patterns tend to look ridiculous thanks to unexplained terminology and overcomplicated examples. I'll keep watching this series, it's really helpful now on my finals.

  • @mostafaaabed2589
    @mostafaaabed2589 4 года назад

    this is one of the best serieses i've ever seen with great simple explanation. thanks Christopher.

  • @facundorodriguez92
    @facundorodriguez92 7 лет назад +4

    Excellent video! I'm waiting for the next one. Greetings from Argentina!

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад

      Facundo Rodriguez Thanks! It's coming super soon. Greetings from Sweden ;)

  • @sandeepsachan1465
    @sandeepsachan1465 7 лет назад +6

    I Appreciate, Christopher. And I think the publisher should publish this video as part of the book :)

  • @anastasiyabarska8210
    @anastasiyabarska8210 2 года назад

    Thank you soooo much, your videos are perfect for those who have once read the book but need to refresh the bullet points. I really loved it, I would never find enough time to read the entire book once again

  • @mauvezebra
    @mauvezebra 2 года назад

    With your energetic explanation. I understan design pattern a lot more, and finally got the job I want. Thank you so much Christopher!

  • @kyonru
    @kyonru 7 лет назад +6

    Great job, even for a no-native speaker who is learning english like me, this was really helpful. I understood everything!
    I'll be waiting for more videos!

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад +3

      Robert Juamarcal thanks! Makes me glad that it's understandable :) Btw ofc also I am a non-native English speaker. But we get better day by day right? :)

    • @kyonru
      @kyonru 7 лет назад +1

      Yeah, we do xD

    • @atikaakmal3661
      @atikaakmal3661 6 лет назад

      could u explain Composite behaviour

    • @atikaakmal3661
      @atikaakmal3661 6 лет назад

      Hiii could u explain Composite behaviour

  • @veerua1087
    @veerua1087 7 лет назад +3

    Hello Christopher.. I really liked your way of explanation (definition, problem, solution, definition again). You kept me engaged through out the video. I think I got why and how we should use strategy pattern. When you had hard time finding behavior examples for display, I wish I could've told you to use "Black&White Display and Color Display" as examples :) Thanks a ton for this!!

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад +1

      veera prathap Annem ah! Excellent example! :) I got stuck in a thought loop. But that example makes a lot of sense! Thank you for watching!

  • @chetanchoudhary08
    @chetanchoudhary08 4 года назад

    finally found someone who teaches design pattern in a way I could understand. loved your approach

  • @daniahmohammad6101
    @daniahmohammad6101 2 года назад +1

    Chris, I watched you videos about design patterns to prepare for a class that I skipped most of it is lectures due to the depressing online teaching, and I just finished my exam. I just want to thank you so much for the amazing lessons you taught me. I was able to refactor the codes easily because you explained the concepts in a very understandable way. I wish you all the best 🧡 *depressed eng student*

  • @dralps
    @dralps Год назад +22

    I've read the GoF book a couple times, but for some patterns, never really got them
    Your series really made them clear now
    Thank you for a great series on the design patterns!

  • @PreetPatel
    @PreetPatel 6 лет назад +3

    Thank you for saving my life and grades!

  • @FernandoHernandez-nr1by
    @FernandoHernandez-nr1by 2 года назад +1

    Man, this video was so helpful! At first, when you read what the pattern was I thought I kinda understood it, and 10 minutes in I realized I had no idea what the pattern really is, but by the end of the video I really did understand it. You're great dude!!

  • @saadanwar7908
    @saadanwar7908 4 года назад

    omg this is amazing! I was asked to study Design Patterns by my team and gave up on trying to find material on RUclips, until I found this video (and series). Keep up the good work!!

  • @joseramondiazarceo4063
    @joseramondiazarceo4063 4 года назад +6

    A hidden benefit from this is that makes the code more testable : )

    • @yaoxiongliang9483
      @yaoxiongliang9483 3 года назад

      It’s not hidden. Code reuse already means easier testing.

  • @Drackomass
    @Drackomass 7 лет назад +38

    This is so good...keep them coming :)

  • @_MAHIMABADJATE
    @_MAHIMABADJATE 3 года назад +2

    You are really amazing. The way you explain concepts are out of world...Please never stop posting❤️

  • @MrMimash
    @MrMimash 2 года назад

    Thanks a ton !! You're amazingly good in keeping the interest of your viewers intact with the topic explanations.

  • @walchandwarik3167
    @walchandwarik3167 6 лет назад +4

    Dear sir, you are simply best.

    • @ChristopherOkhravi
      @ChristopherOkhravi  6 лет назад

      +Walchand Warik Thank you sincerely for the kind words. And thanks for watching :) You guys are the best for supporting the channel :)

  • @matthiasauswoger7994
    @matthiasauswoger7994 7 лет назад +16

    With enough thrust, rubber ducks fly quite well... ;-)
    But good video, thanks for that.

  • @rishabgupta2347
    @rishabgupta2347 3 года назад

    I just found this channel and your videos are like "Answers" to the questions. You are so good at explaining even complex things so easily.
    I see you are not active since many years from now. Not sure what you stop making videos. But just want to let you know that you are awesome !!
    Where are you man !!!

  • @felixjost8206
    @felixjost8206 Год назад +2

    It's great how deep you dive into one pattern!

  • @dookoo2
    @dookoo2 6 лет назад +3

    i love this; im gonna binge watch this series now

  • @mahmoudtaher5588
    @mahmoudtaher5588 7 лет назад +3

    You are the best tutor ever

  • @IBRAHIMDEMIREZ
    @IBRAHIMDEMIREZ 2 года назад

    Not only the way how you explain and not how manage the video but how you exchange the information... its like you though the information to my brain. Really effective, only I can say that brilliant!

  • @johnconnor9787
    @johnconnor9787 Год назад

    You are the legend :) I watch all of your DP videos 4-5 years ago when I studied in University and it helped me a lot. Now I desided to refresh the info and I definitely knew what should I watch :) Thank you

  • @Tuney888
    @Tuney888 7 лет назад +3

    This is a great explanation, keep it going!
    ...I love the way you pronounce quack :)

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад +2

      Hahah! I did not realize it was incorrect until now. But I now see it should be /kwæk/ and not the "long A" that I was using :) ) Thanks for letting me know! :)

  • @Baalerion
    @Baalerion 7 лет назад +3

    Wow you are really great at teaching this, much better then a lot of uni professors. Will you create more design patterns besides those 3 you made? Thanks

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 лет назад

      Thank you very much :) I appreciate it. Indeed I will. Can't do it right now but will produce the next ones as absolutely soon as possible. Apologies for the delay.

    • @Baalerion
      @Baalerion 7 лет назад

      Ok no problem:) Thank You. You are great;)

  • @cwash08
    @cwash08 5 лет назад +1

    Very very nice. This is the type of computer science/ software engineering content I was looking for on RUclips. Most is catered to people just starting out, which is fine, but content like this is very welcome.

  • @tans.4355
    @tans.4355 4 года назад

    I looked around the web and landed here your explanations are very simple and clear and motivated me to refactor a bunch of stuff written in the past. Great Job Thanks. Will look fwd to more series from You.

  • @Shannxy
    @Shannxy 4 года назад +4

    Holy shit thanks alot Mr.Bean!!
    So I already kinda knew what the strategy pattern was, but this whole video made it all ALOT clearer. I appreciate it greatly!

  • @professorfontanez
    @professorfontanez 4 года назад +4

    I've must have watched this video a million times and it just hit me today that this video also illustrates a very powerful design pattern: Null Object Pattern. NoQuackBehavior and NoFlyingBehavior are basically Null Objects.

  • @maxnovikov51
    @maxnovikov51 4 года назад

    I love you man, thanks. Super important the fact that you added example at the end to demonstrate the theory at action.

  • @annybevilacqua6181
    @annybevilacqua6181 2 года назад +1

    Not even one minute into the video and I already feel this is gonna be great!

  • @ToskersCorner
    @ToskersCorner 7 лет назад +4

    I've always wondered how ducks quack. Thanks!

  • @Gelegenheitszocker
    @Gelegenheitszocker 7 лет назад +4

    Awesome explanation

  • @gustawbobowski1333
    @gustawbobowski1333 2 года назад +2

    Years later, still a great explanation. Well done!

  • @johnsonvaughn2366
    @johnsonvaughn2366 9 месяцев назад

    OMG this content is the most simplifying design patterns. I don't even stress about it and mind blow when you write simple code. Thank you for your time and video.