Design Patterns in Plain English | Mosh Hamedani

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ค. 2024
  • Design Patterns tutorial explained in simple words using real-world examples.
    🚀 Ready to master design patterns?
    - Check out my full course: bit.ly/2SZxfGM
    - 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

ความคิดเห็น • 607

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

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

  • @BrysonThill
    @BrysonThill 6 หลายเดือนก่อน +3

    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 TH-cam. At the very end, you say you mentioned it earlier, but I didn't catch that anywhere at the beginning. 🤔

  • @duanalfred8867
    @duanalfred8867 ปีที่แล้ว +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 ปีที่แล้ว +3

    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!

  • @israilkarud9293
    @israilkarud9293 4 ปีที่แล้ว +72

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

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

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

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

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

    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!

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

  • @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 ปีที่แล้ว

      How to use design pattern with springboot

  • @abedalrawas2656
    @abedalrawas2656 ปีที่แล้ว +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.

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

    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.

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

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

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

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

  • @leonf.7893
    @leonf.7893 4 ปีที่แล้ว +1

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

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

    you are seriously a good teacher without any doubt!

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

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

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

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

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

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

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

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

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

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

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

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

  • @ecea.7869
    @ecea.7869 ปีที่แล้ว +4

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

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

  • @ToriKo_
    @ToriKo_ 3 ปีที่แล้ว

    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!

  • @randytauren
    @randytauren 4 ปีที่แล้ว +47

    The "dont abuse pattern" example was genius

  • @pradeep422
    @pradeep422 4 ปีที่แล้ว +33

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

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

  • @r0mankon
    @r0mankon 4 ปีที่แล้ว +322

    I really need to thank TH-cam'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 TH-cam.

    • @aryanbose9084
      @aryanbose9084 11 หลายเดือนก่อน

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

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

    Its always a good refresher, thank you very much!

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

    I was looking for this for so long, thanks again

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

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

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

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

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

  • @AndreiNicolau
    @AndreiNicolau 3 ปีที่แล้ว +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

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

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

  • @ShimaMp-le6ht
    @ShimaMp-le6ht 4 ปีที่แล้ว

    This course is amazing Thank You for sharing it :)

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

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

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

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

  • @AshutoshShelkeP
    @AshutoshShelkeP 6 หลายเดือนก่อน +1

    Mosh teaches well but his voice is so calming that it makes me sleepy.

  • @headoverbars8750
    @headoverbars8750 3 ปีที่แล้ว

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

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

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

    this is the best Design Patterns course here.

  • @sathishkomakul
    @sathishkomakul 2 ปีที่แล้ว +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.

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

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

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

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

    Thank you sir. Determine to watch this untill end

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

    Thank you mosh. Exactly what I needed

  • @AnaAna-yh3ep
    @AnaAna-yh3ep ปีที่แล้ว

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

  • @o1techacademy
    @o1techacademy 7 หลายเดือนก่อน

    This content is invaluable. Thank you Mosh.

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

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

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

    Perfect Java Programming Teaching Materials and Perfect Professor!

  • @sahandilshan4339
    @sahandilshan4339 4 ปีที่แล้ว +5

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

  • @qui_roga
    @qui_roga 3 ปีที่แล้ว

    Dude your tutorials are amazing. Thank you so much!

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

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

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

  • @samnsea
    @samnsea 2 ปีที่แล้ว +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

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

    This is pure gold

  • @anotherhumanintech5287
    @anotherhumanintech5287 8 หลายเดือนก่อน

    This is gold and free!! Thank you so so so much!!

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

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

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

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

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

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

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

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

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

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

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

    Yo bang

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

    Hello!
    Thanks again for your wonderful courses. Actually I bought one of your python videos courses,I really enjoyed it and the videos were dope and full of useful information as a programmer needs. So, I was wondering if you can make us or referring to the best books or PDF were we can practice a lot as presented on your videos. Thanks again you motivate me and inspiring me. I am really thankful for all what’re you doing to help us. I just don’t know how to thank you because now I spend more than 5 hours a day to learn programming believe me without you I couldn’t be so driven.

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

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

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

    • @salaheddine6556
      @salaheddine6556 3 ปีที่แล้ว

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

  • @Incredible_wild_life
    @Incredible_wild_life 3 ปีที่แล้ว

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

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

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

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

  • @founderofisis6627
    @founderofisis6627 3 ปีที่แล้ว

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

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

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

  • @zuzukouzina-original
    @zuzukouzina-original ปีที่แล้ว

    Mosh Hamedani is the best Tutor there is together with that dude of Coding Train.

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

  • @duahalife2355
    @duahalife2355 3 ปีที่แล้ว

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

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

    Mosh Superb!. I love the way you explain.

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

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

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

  • @apall2764
    @apall2764 3 ปีที่แล้ว

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

  • @josuebarros-desenvolvedorw2490
    @josuebarros-desenvolvedorw2490 3 ปีที่แล้ว

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

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

    LEGEND . The best video on internet right now.

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

    Thank you! You are a great teacher!

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

    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!

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

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

  • @535emon
    @535emon 4 ปีที่แล้ว +1

    Wow, Long-awaited Course.

  •  3 ปีที่แล้ว

    amazing stuff!! I'm working right now on an app and this is going to be helpful. Thanks

  • @12345678jyoti
    @12345678jyoti 4 ปีที่แล้ว

    Awesome. Was waiting for this course.

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

    The best IT teacher on TH-cam ❤️❤️

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

      @@programmingwithmosh Hey Mosh, at 54:17 u have not pushed the editor state with c, but how is the pop logic working as expected. Pushing c to the history is required right ?

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

    Thanks for this tutorial :)

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

    Simply amazing ❤️