Design Patterns in Plain English | Mosh Hamedani
Comments • 575
Next videos
Autoplay
Observer Pattern - Design Patterns (ep 2)Christopher Okhravi
Views 420K
Redux Tutorial - Learn Redux from ScratchProgramming with Mosh
Views 749K
10 Incredible Cut Content Secrets in Elden RingVaatiVidya
Views 611K
Thor: Love and Thunder - Trailer ReactionHeroes Reforged
Views 146K
Chicago man helps police rescue woman chained up in home in city's Pullman neighborhoodFOX 32 Chicago
Views 669K
Docker Tutorial for BeginnersProgramming with Mosh
Views 940K
Repository Pattern with C# and Entity Framework, Done Right | MoshProgramming with Mosh
Views 780K
Design Patterns - An introductionin28minutes - Cloud Made Easy
Views 356K
Clean Code - Uncle Bob / Lesson 1UnityCoin
Views 1.4M
Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018GOTO Conferences
Views 658K
Artwork Reveal - Call of Duty: Modern Warfare IICall of Duty
Views 2.3M
The Pit Stop AS7 E02 | Bob The Drag Queen And Eureka O’Hara Are Here! | RuPaul’s Drag Race All StarsRuPaul's Drag Race
Views 854K
My first video!Matthew Sturniolo
Views 332K
3 Days in One VideoAlfie Deyes Vlogs
Views 184K
Marvel Studios' Thor: Love and Thunder | Official TrailerMarvel Entertainment
Views 30M
Emma Raducanu Roars Back Against 17 Year Old Linda Noskova | 2022 Roland Garros | Eurosport TennisEurosport Tennis
Views 268K
REACTING TO THE FUNNIEST TIKTOKS WITH TALIAMiniminter
Views 897K
BEST SIDEMEN AMONG US MOMENTS OF ALL TIME!SidemenReacts
Views 1.3M
THE BEST JEDI IN FORTNITE!?PWR
Views 293K
If it were a piece of music, it would win a Grammy, if it was a feature film, I would get an Oscar. So it is a programming course about the patterns, oop, solid, interfaces that every developer should see. Its the best explanation i have ever seen. Thank you, Mosh, for the great work!
Now I'm listening lofi rain music and start this course because of this comment 😁
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 👍
Programming with Mosh sure. Also subscribed for the course.
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
After so many years, I finally understood what Interfaces are for ! 😭
You are so clear in your explanations ! 👨🏼🏫🎯
LOL 🤣
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!
Hi Mosh, is the part 3 coming to live soon? I'm missing creational patterns. Those are pretty important as well.
Great content! Thanks!
Hi Mosh please add this full course under Udemy so that we can get corporate approval for the course fee payment
This is pure gold
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.
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?
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.
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?
you are seriously a good teacher without any doubt!
Hey Mosh, Thanks for this course, it is so great as always.
am I mistaken or the relationship in State diagram between Context and State should be an aggregation?
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
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!
Awesome tutorial ! The two parts of this course are awesome.Mosh, When will you release the 3rd part of this course?
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!
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!
Hello Mosh! Congratulations for your work! One question. Is there any plan or thought about doing a course related to Domain Driven Development?
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
Hi Mosh, Please put the whole course on udemy. This 1 hour intro is excellent. Looking forward to buy this course on udemy please. Regards.
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.
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.
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.
Thank you, Mosh. just purchased your course. Super excited to learn it.
Great examples of differentiating between abstraction (design principle) vs encapsulation (under the hood implementation principle).
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...
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.
Thank you Mosh i find your tutorials more resourceful than school lectures
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) .
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
Thanks Mosh. You have a very clear way of presenting ideas to make them easily understandable. Kudos!
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.
Hi Mosh, happy to see you back and more present online, I love your teaching skills. I would like to see an update to your MVC course, using latest dotnet core. Keep up the good work!
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!
Well taught good sir. Your content translates so well into the working world!
First i really appreciate your lesson in this video, this video is so great and extremely easy to understand for a fresher like me with a lot of clear explanations and examples.
However, i want to ask that in the part of Memento Pattern, is it better if History pop() method remove the current EditorState obj and call the previous EditorState obj instead of calling and removing the previous EditorState obj at the same time?
--------------------------------------------------------
------- History class:
public EditorState pop() {
int lastIndex = states.size()-1;
EditorState lastItems = states.get(lastIndex);
states.remove(lastItems);
int restoreIndex = states.size()-2;
EditorState restoreItems = states.get(restoreIndex);
return restoreItems;
}
-----------------------------------------------------
---------- Main class:
public static void main(String[] args) {
Editor editor = new Editor();
History history = new History();
editor.setContent("a");
history.push(editor.createState());
editor.setContent("b");
history.push(editor.createState());
editor.setContent("c");
history.push(editor.createState());
editor.restore(history.pop());
System.out.println(editor.getContent());
}
Perfect Java Programming Teaching Materials and Perfect Professor!
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 !!!!
Hey Mosh, I have two questions. At 53:51 in memento pattern, you did not push the content "c" to the history list. I am wondering why is that. Also, I realise that history.pop() needs to be exposed to the main class, but could we have done better and instead exposed only the editor class to the main class and hide history as implementation details? The code seemed a bit messy the current way.
thanks mosh for this wonderful explanation :D. Can you please make a series on System Design?
Thank you! You are a great teacher!
This course is amazing Thank You for sharing it :)
Very good video. Loved the way it is presented. Mainly its not boring even though its 1 hour 20 mins. Well done Mosh!
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!
This is by far the simplest, visually appealing, informative video I have found on youtube about design patterns.
Thank you. Awesome! Nice explained and very transparent. Good Job! Even for other Programming Languages
Feedback: everything looks nice and easy to understand, my only problem is that you are getting into IDE features too much too often, it's somewhat confusing.
You are absolutely great Mosh. Thanks a lot for all your wonderful courses. Love from India ❤️🇮🇳
Thank you Mosh for this tutorial.. I love your way of teaching 👍
Thank you for this. I just hope this becomes available in Udemy as well like your other courses. I’ve purchased most of your classes there and they’ve been a huge help for me. Keep up the great work!
I do not major in Computer Science, but I want to find a job as a programmer , your video is very helpful with clear explanation ,which is so friendly to a green hand like me ! you're one of the best CS teachers in the world !
Mosh's teaching is the best in the world. Great Educator. Lots of love
I agree.
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
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.
very useful i enjoy the way you explain the thoughts behind creation of each pattern
bought your course even though the company i am working for provides us with full access to udemy for business and o'reilly books . thanks for the great content (I am also looking forward to part 3) :)
Hey Mosh! I love al your courses, and in my opinion you are one of the best. I have a question about this new course. What patterns are you explaining in this course? (Factory, Builder, etc)?
Hi! He said he will cover 22 of 23 of the Classic Design Patterns.
as a programmer, can you be more happier?
I have one question for you Mosh
are you ever planning to make any lecture videos on php (anything)
because I love php and it's great language for web development.
Can you please teach php as well?
Thank you
Mosh is really good for explaining Concepts
Thank you for making this video public
Its always a good refresher, thank you very much!
Hi Mosh! I am wondering if you explained encapsulation in the abstraction section as well. I heard abstraction was about abstract classes, functions, and interfaces. But you made some functions private and called this abstraction. Could you elaborate, please?
Oh! I got that abstraction(which I think is abstraction) explanation in the Polymorphism section!!! I thought polymorphism was Overloading and Overriding. Please tell me if the concepts have a lot of intersection with one another(my definitions also make sense) or there is a big oops on my understanding of OOP?
MOSH, every content you add is very beneficial to all. Thanks a million.
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 ?
For meh, All I can pay back is click like button
You have a good didadictic. I guess you would use a stack() of objects. Stack is a class in java which let you use the last-in-first-out principle, making it easier to rollback your states
Thanks Mosh, is this course available on Udemy ? Please kindly provide me the link
You have to buy the course on the website above. I think, Mosh won't release it on udemy.
This is super clear. I am considering to buy those course in the future when I have time. Thank you very much.
Bravo Mosh ! Explications claires et concepts de la POO illustrés avec des exemples simple aussi bien pour débutants que confirmés :)
I am a big fan of your courses .Thank you for your hard work.God bless u always
Thanks for the free preview. I've needed a course on design patterns for a long time.
@Mosh you are the best. Amazing teacher. I have bought most of your courses. What about the creational design patterns? Any update? You said that it would be ready in January.
It seems he preferred to publish the Redux course first.
The way you explain sir, helps understanding me things very easy. You have changed my life Sir.
Thanks you so much sir. 💙💙💙
this is a great video ! but i can't seem to see the difference between abstraction and encapsulation can anybody help
Thank you for your work! Let me some note: interface's name should start with "I" char - ITaxCalculator.
50:05 perfect use-case for auto mapper tools if you have big objects
Dude your tutorials are amazing. Thank you so much!
amazing stuff!! I'm working right now on an app and this is going to be helpful. Thanks
(SUGESSION):
Huge fan sir, learnt alot. but I want to say that can you very kindly use dark color instread of solid white when selecting new topic like one in 36:42 Thanks alot
Hi Mosh! I am about to buy your course and wondering if there's live Q&A that's part of the course? I sometimes have questions while you are going through the material, but not sure where to ask. For example, for the History class, is there a reason why the instantiation is not inside a constructor for the list of EditorState? Or it really doesn't matter since it's just one instance variable?
Highly recommend this course! You should do a system design course.
In the memento pattern, isn't comparing the "History" class to the "Caretaker" class a bit misleading? Based off the official pattern the "Caretaker" in your solution is really the "Main" class. History is just your own implementation of a stack that the "Caretaker" uses to store the states. At least that's my understanding after checking en.wikipedia.org/wiki/Memento_pattern :)
Hi.
I have been like "what is an abstract class? Where can i find an understandable info?" and met this channel. Then found Mr.Hamedani on udemy =) win-win
Thank you for the simple explanation.
Mosh you are the programming boss. We thank you again.
Mosh you are awesome..
You make hard things to simple.
Nice course so far, easy to follow, might be useful for my future career as a software engineer in Java. I guess, the third part is still in progress?
Or maybe he forgot that part, because he just released a new course (Redux)
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.
Are congratulations in order?
Very good examples. I was struggling to understand some of those, but I got it now. It just clicked! You just won another subscriber :)
I want to learn Laravel, so Design Patterns will come in handy right now! Thanks Mosh! ;)
The "dont abuse pattern" example was genius
Thank u for this wonderful course.
Thanks for the course! What about more patterns from the Gang of Four, which are very popular?
Thanks!
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!
@Programming with Mosh I have taken yearly subscription. will it be included in that yearly subscription mosh?
Thank you for sharing this introduction!
Simply amazing ❤️
Thank you for the course, just needed at the right time. I have interview tomorrow, and if I pass, all credits to you
@Abouzar Azarpira thank you. all the best to you.
@Gopi Doshi good to hear that, gave me hope,
best of luck
@Abouzar Azarpira i got hired for the senior software engineer post.
how was it ?
Bought.
I have one question Mosh. What software do you use for video editing? How are those neat animations done?
Just software names is all I need .. please ;)
40:36 "These are the design patterns every software engineer must master". You don't need to use a single design pattern to write any code. Preferably none are used due to their ability to decrease code quality.
Thanks for this amazing course video.
Best for preparing for interviews where they ask a little programming as well, apart from main concept like data science etc
"Plain English" has to be regarded in relation to the complex nature of the topic. For non-IT viewer and visual learner (approx. 30%) still hard to understand on most subjects.