Strategy Pattern - Design Patterns (ep 1)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ค. 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.7K

  • @vaibhav4196
    @vaibhav4196 4 หลายเดือนก่อน +56

    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 5 วันที่ผ่านมา

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

    • @miguelcerne1150
      @miguelcerne1150 3 วันที่ผ่านมา

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

  • @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.

  • @crystalkewe
    @crystalkewe 2 หลายเดือนก่อน +6

    Finally, one of those odd times TH-cam actually recommends something of use! THANK YOU!

  • @oluwatobitobias
    @oluwatobitobias ปีที่แล้ว +8

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

  • @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

  • @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

  • @dangascoigne6678
    @dangascoigne6678 ปีที่แล้ว +9

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

  • @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

  • @BuildEver
    @BuildEver 5 ปีที่แล้ว +30

    I'm glad TH-cam recommended me this video!

  • @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.

  • @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!

  • @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.

  • @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.

  • @gigajoules6636
    @gigajoules6636 5 ปีที่แล้ว +8

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

  • @Arkatori
    @Arkatori 4 ปีที่แล้ว +25

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

  • @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.

  • @whitodev3472
    @whitodev3472 7 ปีที่แล้ว +9

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

  • @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!

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 ปีที่แล้ว +2

      Haha thanks I'm glad it's useful :)

    • @MubashirAR
      @MubashirAR 5 ปีที่แล้ว

      Whats the "3 ❤" next to your name?

  • @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!

  • @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.

  • @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!

  • @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!

  • @kumarchandan6336
    @kumarchandan6336 20 ชั่วโมงที่ผ่านมา

    I have cracked Low Level Design interviews in companies like Microsoft, Amazon, Atlassian, Flipkart, etc with the help of your videos. Your videos are really helpful. Keep up the good work.

  • @xevigraham1742
    @xevigraham1742 4 ปีที่แล้ว +2

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

  • @xFailGameR
    @xFailGameR 3 ปีที่แล้ว +4

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

  • @michaelhaddad2190
    @michaelhaddad2190 7 ปีที่แล้ว +3

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

  • @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.

  • @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!

  • @mikesmale1853
    @mikesmale1853 5 ปีที่แล้ว +22

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

  • @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.

  • @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!

  • @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 :)

  • @chetanchoudhary08
    @chetanchoudhary08 4 ปีที่แล้ว

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

  • @ZigzagKazak
    @ZigzagKazak 6 หลายเดือนก่อน

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

  • @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.

  • @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.

  • @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!

  • @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.

  • @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!

    • @ghjhhuil6862
      @ghjhhuil6862 2 หลายเดือนก่อน +1

      He cared, that's how.

  • @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!

  • @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!

  • @ZealGames
    @ZealGames ปีที่แล้ว +1

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

  • @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 💜😄

  • @_Zephon
    @_Zephon 5 ปีที่แล้ว +10

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

  • @riserrad
    @riserrad 4 ปีที่แล้ว

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

  • @israelkariti280
    @israelkariti280 ปีที่แล้ว +1

    Your passion to the subject is contagious. Very well presented

  • @user-se5ub7ft1o
    @user-se5ub7ft1o 4 ปีที่แล้ว +229

    When you're said introduction, I heard introDUCKtion😂

  • @TheLucidway
    @TheLucidway 3 ปีที่แล้ว +6

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

  • @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...

  • @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!

  • @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!

  • @antagonisticapple9466
    @antagonisticapple9466 3 ปีที่แล้ว +112

    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.

  • @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!!

  • @annybevilacqua6181
    @annybevilacqua6181 2 ปีที่แล้ว +1

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

  • @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.

  • @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!

  • @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!

  • @_MAHIMABADJATE
    @_MAHIMABADJATE 3 ปีที่แล้ว +2

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

  • @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.

  • @Resok
    @Resok 7 ปีที่แล้ว +4

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

  • @mostafaaabed2589
    @mostafaaabed2589 4 ปีที่แล้ว

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

  • @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.

  • @PreetPatel
    @PreetPatel 6 ปีที่แล้ว +3

    Thank you for saving my life and grades!

  • @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! :)

  • @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

  • @cwash08
    @cwash08 5 ปีที่แล้ว +1

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

  • @1993wik
    @1993wik 4 ปีที่แล้ว +3

    Damn, that was amazing. Thank you, Christopher!

  • @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....

  • @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

  • @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!!

  • @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 ;)

  • @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

  • @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*

  • @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!

  • @sandeepsachan1465
    @sandeepsachan1465 7 ปีที่แล้ว +6

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

    • @ChristopherOkhravi
      @ChristopherOkhravi  7 ปีที่แล้ว

      Awesome comment :) :) :) Thanks! Much appreciated.

  • @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 :)

  • @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.

  • @MrMimash
    @MrMimash 2 ปีที่แล้ว

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

  • @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!

  • @dookoo2
    @dookoo2 6 ปีที่แล้ว +3

    i love this; im gonna binge watch this series now

  • @felixjost8206
    @felixjost8206 ปีที่แล้ว +2

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

  • @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 TH-cam, until I found this video (and series). Keep up the good work!!

  • @Drackomass
    @Drackomass 7 ปีที่แล้ว +38

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

  • @mahmoudtaher5588
    @mahmoudtaher5588 7 ปีที่แล้ว +3

    You are the best tutor ever

  • @friedcrumpets
    @friedcrumpets ปีที่แล้ว

    I’ve been trying to solidify this pattern to many for a while… this is the best explanation I’ve come across 🎉thank you

  • @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.

  • @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.

  • @matthiasauswoger7994
    @matthiasauswoger7994 7 ปีที่แล้ว +16

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

  • @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

  • @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.

  • @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! :)

  • @Gelegenheitszocker
    @Gelegenheitszocker 7 ปีที่แล้ว +4

    Awesome explanation

  • @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!

  • @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.

  • @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.

  • @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!

  • @CodaJohnPaul
    @CodaJohnPaul 2 ปีที่แล้ว +1

    Christopher, you are awesome! Thank you so much, these are the clearest explanations of design patterns I have ever seen.

  • @yanghu9744
    @yanghu9744 2 ปีที่แล้ว

    Thank you for the easy-to-follow, entertaining and info packed lesson!