Design Patterns in Plain English | Mosh Hamedani

Поделиться
HTML-код
  • Опубликовано: 22 июл 2024
  • Design Patterns tutorial explained in simple words using real-world examples.
    🚀 Ready to master design patterns?
    - Check out my full course: mosh.link/design-patterns-course
    - Subscribe for more awesome content: bit.ly/38ijYjn
    ✋ Stay connected:
    - Twitter: / moshhamedani
    - Facebook: / programmingwithmosh
    - Instagram: / codewithmosh.official
    - LinkedIn: / codewithmosh
    🔗 Related videos:
    • Java Tutorial for Begi...
    📖 Chapters
    0:00:00 Introduction
    0:01:40 What are Design Patterns?
    0:04:15 How to Take This Course
    0:05:50 The Essentials
    0:06:53 Getting Started with Java
    0:09:23 Classes
    0:13:34 Coupling
    0:15:34 Interfaces
    0:21:17 Encapsulation
    0:26:25 Abstraction
    0:30:33 Inheritance
    0:32:55 Polymorphism
    0:36:42 UML
    0:40:52 Memento Pattern
    0:42:43 Solution
    0:48:31 Implementation
    0:54:22 State Pattern
    0:59:46 Solution
    1:02:59 Implementation
    1:09:31 Abusing the Design Patterns
    1:11:18 Abusing the State Pattern
    #coding #designpatterns

Комментарии • 618

  • @programmingwithmosh
    @programmingwithmosh  3 месяца назад +2

    🚀 Ready to master design patterns?
    - Check out my full course: mosh.link/design-patterns-course
    - Subscribe for more awesome content: bit.ly/38ijYjn

    • @samirkha
      @samirkha Месяц назад

      I love it 💕 26:20

  • @israilkarud9293
    @israilkarud9293 4 года назад +74

    Mosh's teaching is the best in the world. Great Educator. Lots of love

  • @duanalfred8867
    @duanalfred8867 2 года назад +6

    Hi , Mosh, I learnt the React Native 2 years ago, your class is somehow clear and help me a lot . About this course, it gradually teaches me from fundamental to pattern design, its very friendly to absorb the knowledge, thanks a lot

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

    This is the best explanation of the OOPs principle, I felt like I've known nothing before. I've watched at least 20 videos on OOPs, none has explained it so well. Great content!

  • @jorgecanas3668
    @jorgecanas3668 3 года назад +5

    Just want to say that I've been in college for 2.5 years now and this is the first time I understand what an interface is for, thanks a lot!

  • @mustafasange
    @mustafasange 4 года назад +41

    As I was learning about design patter, I am lucky the course has come at the right time. Thanks a lot for the hard word you have put in teaching us 👍

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

      Programming with Mosh sure. Also subscribed for the course.

    • @user-tm2uq6ce4h
      @user-tm2uq6ce4h 2 года назад

      How to use design pattern with springboot

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

    This was a fantastic lesson, Mosh. I'm a QA, but I'm always trying to understand the systems I'm working with better, and I was able to follow along - even with the more complex ideas - in a way I can't always do with other teachers. Thanks so much.
    Also, I hope your fans here in the comments call themselves The Mosh Pit. 🤘

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

    There are loads of people teaching you each individual "gang of 4 patterns" on youtube. you can look each one up individually, and find series after series going over them all. but i paid good, hard earned money for mosh's course. the reason why is right here in this video. if you want to really absorb this material, you need a teacher who will challenge you to open your mind and tackle the problem. everyone else just says "here's the answer". we don't need that. buy a book if you want that.
    if you want a teacher? a real lesson? a real class? start here. start with mosh.
    thank you mosh. timeless material... and yes, to anyone wondering, you can download and save each video. you will own a hard copy of the material, to sit next to your hard copy of the g.o.4. reference book. kudos.

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

    I've been coding for 6 months and never used interfaces but learned (I thaught I had learnt them). I've done more than 20 projects to improve my coding skills and I think if I knew interfaces properly, I wouldn't have done a lot of coding repeating. I love them and I will use them ! Thank you

  • @jp-hh9xq
    @jp-hh9xq 4 года назад +20

    I'm only 9:52 in and I can already tell I'm going down the rabbit hole watching your videos. Great job! Love it! I already know this stuff to a certain degree, from using it all the time, but am trying to clean up my explanations in interviews and presentations and your video is clear and concise. Very nice job! Helps me think about the topics in really clear ways.

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

    Mosh you're absolutely the best! I'm not a native speaker, and your MVC course helps me to improve both programming skills and English. Moreover, I haven't found as useful and handily examples as you show

  • @mual77
    @mual77 4 года назад +9

    MOSH, every content you add is very beneficial to all. Thanks a million.

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

    You're an excellent focus grabber I could watch the whole thing in one go without getting bored. Thank you for the great content.

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

    This is by far the simplest, visually appealing, informative video I have found on youtube about design patterns.

  • @bestdavid
    @bestdavid 4 года назад +51

    I've taken a course from you a while ago on Udemy and I can tell you're one of the best instructors I've had, congratulations!

  • @Vunerio
    @Vunerio 3 года назад +23

    After so many years, I finally understood what Interfaces are for ! 😭
    You are so clear in your explanations ! 👨🏼‍🏫🎯

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

    Mosh, so glad to see you avoid using abstract classes and suggest interface instead! So many demos will not take this into account. I think Microsoft had a good way of distinguishing when to use abstract class over interfaces. They suggested 'versioned' implementations as one reason to use an abstract class. I like your simpler or more pragmatic approach for beginners.

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

    awesome course Mosh, I've got in early, and I LOVE IT! I'm using typescript since I do mostly frontend development and the cool part is that it supports all of the OOP principles that java has, I started wroting most examples in ts files.... these design patterns are so powerful, omg!

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

    Am new in programming. I didn't know where to start. I watched many videos about python but I always got lost. But as soon as I watched your teaching, my God! am so happy I understand what you are saying. #you are a God sent Mosh. Thanks a million.

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

    I love how much effort you put into these videos.
    Changing Images and nice explanation makes this the best video for the topic.
    Came here because my lecturer was just reading the slides, and the slides was confusing

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

    you are seriously a good teacher without any doubt!

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

    Wow, from the intro this seems super interesting and applicably to me and the questions I’ve been having. I never would of heard of this concept/looked into it if wasn’t something you posted Mosh!

  • @leonf.7893
    @leonf.7893 4 года назад +1

    Thanks for the free preview. I've needed a course on design patterns for a long time.

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

    Excellent! Despite not understanding too much English and not programming in Java, I can tell you that you have been very explanatory and very helpful! keep going! Regards!

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

    Thank you, Mosh. just purchased your course. Super excited to learn it.

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

    This is super clear. I am considering to buy those course in the future when I have time. Thank you very much.

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

    This is the first time in my life I was VOCALLY answering to a video content while watching it. So much value, made me feel I was in a class (no pun intended). Thank you !!!!

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

    Wow you remind me of my great teachers in Iran! Thank you very much for the amazing content

  • @ecea.7869
    @ecea.7869 Год назад +4

    I learned more in this video than I had the whole semester thank you so much

  • @AmarSingh-uw1db
    @AmarSingh-uw1db 4 года назад +2

    The way you explain sir, helps understanding me things very easy. You have changed my life Sir.
    Thanks you so much sir. 💙💙💙

  • @randytauren
    @randytauren 4 года назад +47

    The "dont abuse pattern" example was genius

  • @BrysonThill
    @BrysonThill 9 месяцев назад +11

    I wish you had said at the beginning that this is the first video in a larger paid course. It took me a while to realize the video wouldn't actually be a 1-hour overview "course" of design patterns. I definitely felt misled by the title and thumbnail as someone searching for design pattern videos on RUclips. At the very end, you say you mentioned it earlier, but I didn't catch that anywhere at the beginning. 🤔

    • @danielguzmanramirez2281
      @danielguzmanramirez2281 27 дней назад

      I feel scammed too... The video was very good, but I was expecting the full content about design Patterns to be in this video, not a PAID course.
      Did you paid the full course? I don't know if it's worth it for me to do it (just graduated from
      College with a Software Development AAS degree). I want to learn design patterns but usually tend to use free content online.
      Please anyone feel free to share your opinions on this comment!

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

    Just started this course but am very impressed so far. I just graduated with a diploma in computer programming but never really grokked design patterns. Thanks for all your work! I will be purchasing the full program.

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

    Thanks Mosh. You have a very clear way of presenting ideas to make them easily understandable. Kudos!

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

    Liked + subscribed + got notifications + save to my daily notes + save to Habitica app + saved to Trello website + wrote ur name on my room wall
    Ohhh now I feel better, I will not miss nothing from this channel ❤️

  • @AndreiNicolau
    @AndreiNicolau 4 года назад +14

    This is great. I can't imagine the amount of work it took to make this video. All the editing, recording, making sure things are right and all for 80 minutes of continuous teaching. Great job man. I want to pay you some money and there is an option to pay directly on youtube for perks. Why don't you use that one ?

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

      For meh, All I can pay back is click like button

  • @GaneshKumar-fv2cg
    @GaneshKumar-fv2cg 4 года назад +1

    Very good video. Loved the way it is presented. Mainly its not boring even though its 1 hour 20 mins. Well done Mosh!

  • @pradeep422
    @pradeep422 4 года назад +33

    Just got refreshed my design pattern related block of memory in my brain lol 😜😜😆😆

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

    Hi Sir ..just wanna say thank you for your courses i learnt many things from you....even now a days ( in Quarantine) i spend most of the time in my day in front of you ... a great respect and love for you my Teacher...

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

    حزاك الله خير،
    This helped me a lot.

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

      باختصار ماهو disign pattern ?

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

    Excellent video, did the whole tutorial in one sitting and made detailed notes. Learnt so much. Thank you!!

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

    Its always a good refresher, thank you very much!

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

    Thanks for share, love to have you back full time!!! Hope for more great content like this

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

    You are absolutely great Mosh. Thanks a lot for all your wonderful courses. Love from India ❤️🇮🇳

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

    Hey Mosh! Thank you for this overview of the course. An off-topic question, could you please tell in which tools do you make these animations?

  • @sathishkomakul
    @sathishkomakul 3 года назад +3

    Hi Mosh, really it's very fantastic video on design pattern, before that I just know only design patterns definition but now I have understood clear picture of design patterns the way you provide examples its key point and really good understanding, Thank you so much it's really help me a lot, please also upload other patterns. Thank you very much my guru.

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

    I was looking for this for so long, thanks again

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

    Mosh rocks!!!
    Thanks so much for doing this...
    So glad I found you man... holy moly...

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

    I subscribed almost immediately just by the high quality of the intro.

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

    Thank you Mosh for this tutorial.. I love your way of teaching 👍

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

    Perfect Java Programming Teaching Materials and Perfect Professor!

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

    I'm busy, so I just liked, viewed, and left. You helped me become the C# developer I am today, bless ya.

  • @alphajaguar9156
    @alphajaguar9156 4 года назад +242

    Hi sir, heard you quit your job for teaching dumb-dumb's like us. Thank you and may God shine his grace upon you.

    • @andreeai4401
      @andreeai4401 4 года назад +21

      I cannot stop laughing =)))))) dumb-dumbs =))) But yes...thank you, Mosh! Keep up the good work!

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

      Programming with Mosh you are actually amazing no words your videos are very close for preparing interviews too I did👌
      Seriously you’re there for dumb dumbs like us

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

    this is the best Design Patterns course here.

  • @r0mankon
    @r0mankon 4 года назад +322

    I really need to thank RUclips's Recommendation Algorithm...

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

      @@programmingwithmosh Hi! I couldn't find where it is the complete course. I've search on your platform but nothing. Can you send me please a link? Thanks a lot

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

      @@AtileonVA - It will be available in late Jan. Its open for pre order - link is in the description

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

      Communism sucks

    • @okonkwo.ify18
      @okonkwo.ify18 2 года назад +1

      U should thank Mosh not RUclips.

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

      @@okonkwo.ify18 it's like patients thanking god instead of thanking the surgeons, lol.

  • @AnaAna-yh3ep
    @AnaAna-yh3ep Год назад

    Your way of explaining all these things is absolutely amazing!!!!!

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

    Thank you Mosh i find your tutorials more resourceful than school lectures

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

    No words bro, Excellent !!!! and THANK You from the bottom of my heart for keeping these treasures online for FREE .. I had used ur Python course in 2020 and could use that knowledge in my project.. Now design patters. Only thing I can say , you are the best in both of this (Cause I have been searching a lot and met with many online instructor) .

  • @ShimaMp-le6ht
    @ShimaMp-le6ht 4 года назад

    This course is amazing Thank You for sharing it :)

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

    Great examples of differentiating between abstraction (design principle) vs encapsulation (under the hood implementation principle).

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

    Thank you mosh. Exactly what I needed

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

    Thank you sir. Determine to watch this untill end

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

    Hi Mosh, Thanks for the course, I ordered it and learnt new things about the design patterns. Can you please confirm when we can get the part 3 for Creational patterns? Have been waiting for it! Thanks

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

    There's always good content to be found here, short, clear, to the point...

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

    This is pure gold

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

    Dude your tutorials are amazing. Thank you so much!

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

    100 bar shukria 100 bar shukria... hundred baar shukria... million bar shukria... tum jese ache logo ko sahara hai bhalo logo... ye dil tumhare pyar ka mara hai bhalo logo

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

    Bravo Mosh ! Explications claires et concepts de la POO illustrés avec des exemples simple aussi bien pour débutants que confirmés :)

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

    I ensure i watch every ads in this channel, he deserves every good things. thanks Mosh.

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

    Well taught good sir. Your content translates so well into the working world!

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

    Mosh you are the programming boss. We thank you again.

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

    I've been long waiting for this course done by you. Only $30!!! I already know most of the content, but even if I learn one or two concepts from this course, it values thousands of dollars to me!

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

    Highly recommend this course! You should do a system design course.

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

    Mosh! You are the hero! No, you are the super hero! Mosh for president! I just can't put all of my gratitude in this words. Thank you for all your support on my path!

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

    Thank you so much for helping me get ready for the interview. Promise if I get the job and get cash I will be more than honored to support your awesome work.

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

    Very good examples. I was struggling to understand some of those, but I got it now. It just clicked! You just won another subscriber :)

  • @DANI-gr7is
    @DANI-gr7is 4 года назад +1

    Hi Mosh, Please create course for System Design. That will be helpful for many experienced developers. I am using your course(Data structures & algorithms and Design patterns) for my interview preparation. But I am missing system design course. I have seen few other tutorials. But you explain things better than anyone.

  • @Mahdi-cq6ke
    @Mahdi-cq6ke 3 года назад

    مرسی استاد💙

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

    Hey Mosh, I started learning programming with your tutorials on JavaScript, I really enjoyed most of the things you taught me. Well, sir, I understand what you are taught here but I would like you to please do this same thing with JavaScript like you did with Java

    • @SyedAli-kr6qw
      @SyedAli-kr6qw 3 года назад

      Hey fellow JS developer. Was lookign for someone ask this question. It seems like Data Structures and Algorithms or this course are really for those big languages.

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

    I am a big fan of your courses .Thank you for your hard work.God bless u always

  • @535emon
    @535emon 4 года назад +1

    Wow, Long-awaited Course.

  • @sahandilshan4339
    @sahandilshan4339 4 года назад +5

    Wow, waited for this, thanks mosh ❤️❤️, Can you do another course for concurrency programming

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

    Great job Mosh, I was waiting for this course... :)
    I subscribed to your website yesterday but I was wondering why I couldn't find this course there!

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

      ​@@programmingwithmosh I have taken yearly subscription. will it be included in that yearly subscription mosh?

  • @josuebarros-desenvolvedorw2490
    @josuebarros-desenvolvedorw2490 3 года назад

    I want to learn Laravel, so Design Patterns will come in handy right now! Thanks Mosh! ;)

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

    ایول داداش گل ... آفرین

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

    Yo bang

  • @12345678jyoti
    @12345678jyoti 4 года назад

    Awesome. Was waiting for this course.

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

    I was eagerly waiting for your video!
    Your student from India!

  • @MO-dd3cs
    @MO-dd3cs 4 года назад +1

    Thank you for this effort, Mr. Aziz from the heart. I hope that you will continue. I want to ask you that you are a professional in programming. How can I learn Java after finishing Java? What do you advise us to learn?

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

    Hey !!! Mosh !!! just watched the Add without skipping, i hope it will add some dollars and keeps you motivated for making such awesome content for us !!!! Thanks !!!!

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

    Awesome tutorial ! The two parts of this course are awesome.Mosh, When will you release the 3rd part of this course?

  • @krystianh4384
    @krystianh4384 4 года назад +8

    Hi Mosh, is the part 3 coming to live soon? I'm missing creational patterns. Those are pretty important as well.
    Great content! Thanks!

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

    thank you ,it was so good to watch this video and i am watching your react-native course it is soo good. :)

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

    LEGEND . The best video on internet right now.

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

    Been waiting for this!

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

    Mosh is really good for explaining Concepts
    Thank you for making this video public

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

    Thank you! You are a great teacher!

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

    Love you Mosh....you are great instructor

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

    Muaaah... your video is like suspense thriller movie. I enjoy watching u. Planing to end NETFLIX to opt your collections

  • @o1techacademy
    @o1techacademy 10 месяцев назад

    This content is invaluable. Thank you Mosh.