In this video we will talk about some important software design patterns
Jack Herrington YouTube Channel:
https://www.youtube.com/channel/UC6vRUjYqDuoUsYsku86Lrsw
Timestamps:
0:00 – Intro
2:14 – Singleton Pattern
3:51 – Facade Pattern
5:48 – Bridge/Adapter Pattern
8:02 – Strategy Pattern
9:48 – Observer Pattern
source
Thanks again Brad for hosting my video on your channel. It's great that you are giving creators this opportunity.
There are 23 design patterns which must be known.
I like patterns designing
I do patterns also
My channel contains many videos
Here is my new design
https://youtube.com/shorts/d6weZkU9_Cw?feature=share
I am waiting your feedback
the way you assess junior to principal is 100% true so so true.
Thanks Jack, I was looking for a brief explanation on the scope of design patterns and your examples covered it very well 😀 Will be checking out more of your videos!
Showing sam source code would help clarify!
Thanks a lot! Great video, also for me my favorite pattern is strategy and with observable rxjs with angular I can learn the best practise to build solid and reusable component that access to data async and modelling data angular only when subscribe is finished. Awesome . See u
All of the Patterns are your favorite😁😁😊😊
software architecture is harder than technical coding, glad this tutorial exists.
Great video. Only one comment, Pub/Sub is not the same as Observer. In the Observer pattern the publisher knows the subscribers and reports update directly to them. In the Pub/Sub pattern the publisher is more like a publisher in the real world, they do not know who is interested in the data published, they just publish and the consumers look into a broker for messages they care about.
4:10 abstraction. I heard it explained as pressing a gas pedal in the car and it going forward without needing to know all the moving parts.
Thank you, Jack.
This was extremely helpful. Thank you.
pretty darn amazing.
Oh it is called the pub/sub design patten. Good to know. Since I was forced to learn reactive programing (cause I needed to see how Angular 2+ works) I fell in love with it.
I use it on Angular, Android Java, Flutter and on the server (BehaviorSubject) or Project Reactor.
Yes sometimes an event creates indirectly more of the same even and things end up with 100% CPU.
Is this a share office with your Significant Other?
Before I was practicing design patterns in my own frameworks I built, now with spring boot most of the boilerplate comes builtin in the framework and I'm turning to a configuration engineer and I do not like that much it to be honest.
Thank you Sir for the excellent explanations.
Conan o'brien is teaching now?
Can't believe he referred to the 4 design patterns as 'original OG' 😂
Hi Jack. Great video, thank you. I'd mention that the difference between Bridge and Adapter is that Adapter is about interfaces. You adapt from the interface you get (say lines) to the interface you need (say points). While the Bridge is about components. Bridge is connecting components together through abstractions. Your explanation of the Bridge design pattern is absolutely correct and beautiful, I am just reacting to your phrase with which you started the bridge part – you said that you'd call it adapter. Thanks again for making this video.
Hi all, just wanted to say thay another great book that is re-read of the gang of four book is: Game Programming Pattern by Robert Nystrom. Trust me if you are not a game dev. but lets say someone who "gamed" this one will sync with you so easily.
Great content, thanks!
Personally I think patterns shouldn't be taught to beginners. It kills creativity, rather than trying solutions and discovering patterns, they end up trying to shoe horn these patterns into their code.
What is your challenge.
How do you want to try to solve it.
Can your solution be improved. If not, congrats you may have found a new pattern to be a do or die in job interviews for the next decade.
Do you think any of the popular patterns will work better in this instance.
I use singletons a lot
A programming pattern is a proven solution to a recurrent problem.
No need to go further than that.
I love u and thank u….like they are liki blue eagle…..