5 Design Patterns Every Engineer Should Know

  Рет қаралды 929,306

Traversy Media

Traversy Media

Күн бұрын

In this video we will talk about some important software design patterns
Jack Herrington KZbin Channel:
/ @jherr
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

Пікірлер: 557
@jherr
@jherr 3 жыл бұрын
Thanks again Brad for hosting my video on your channel. It's great that you are giving creators this opportunity.
@TraversyMedia
@TraversyMedia 3 жыл бұрын
Thanks for letting me, Great stuff!
@jackiepuppet_5324
@jackiepuppet_5324 3 жыл бұрын
Spreading the word of GoF, thanks Jack! Brad, can we see unit testing (maybe even TDD) in React soon?
@TheCodeRank
@TheCodeRank 3 жыл бұрын
Superb info
@bogdankyuchukov2124
@bogdankyuchukov2124 3 жыл бұрын
It's a very useful and important video. Thanks to both of you 🙏🏻
@MrSidMan
@MrSidMan 3 жыл бұрын
Great overall guide.
@aliasalias510
@aliasalias510 3 жыл бұрын
For people, who are interested in learning the design patterns now: - use the book mentioned in the video mainly as a reference book (it's pretty good for that) - don't just learn or read about the different patterns, practice them at least in small projects, the ability to see where specific patterns might be useful in larger codebases comes only with practice, experience, and time - if you know a little java: Head First: Design Patterns, one of the best resources you can use to learn the most important ones - if you don't get a pattern instantaneously, just look for different explanations and 'tutorials' (maybe in a programming language that you know very well). different people might use different examples to explain the patterns, so you will definitely get the hang of it after investing time to research Happy coding :)
@gamersforever1585
@gamersforever1585 3 жыл бұрын
thank you for this comment
@peerreynders1824
@peerreynders1824 3 жыл бұрын
Be aware of "The 4 Stages of Learning Design Patterns" ardalis.com/the-4-stages-of-learning-design-patterns/ 1. Ignorance 2. Awakening 3. Overzealousness 4. Mastery "Stage 3: Overzealousness" is the dangerous one - implementing patterns everywhere even in "square peg in a round hole" situations. Each pattern has 13 sections: * Pattern Name and Classification * Intent * Also Known As * Motivation * Applicability * Structure * Participants * Collaborators * Consequences * Implementation * Sample Code * Known Uses * Related Patterns It's a mistake to only focus on the name and implementation related sections. It's absolutely critical to understand: * Intent - What problem does the pattern address? * Applicability - The circumstances that make the pattern a good fit. * Consequences - The *tradeoffs* and results of using the pattern. The consequences could highlight tradeoffs that are a showstopper for some solutions. In that case "Related Patterns" may suggest alternatives that could be a better fit. The other issue is that many people treat patterns as "recipes". Patterns are more than that. The pattern names establish a common nomenclature to make technical communication more effective. For example when the term "observer pattern" appears in an article, talk or conversation the "why, what, and how" of the approach should be understood by the participants without having to get into the nitty-gritty details. It also needs to be emphasized that the "Gang of Four" patterns largely target "class-based object-oriented" implementations. Different paradigms tend to have different patterns. For some introductory functional design patterns have a look at "Functional Design Patterns - Scott Wlaschin (2017)" kzbin.info/www/bejne/qaO0pWSEdq2MeZI Occasionally there is some conceptual overlap, e.g. the Strategy pattern with higher order functions: * Context - the higher order function * Strategy - the signature of the function parameter accepted by the higher order function. * ConcreteStrategy - the function that is passed to the higher order function as a parameter. Idioms vs. design patterns. Design patterns address general structural principles. Idioms represent low-level patterns that solve implementation-specific problems in a particular programming language (Pattern-Oriented Software Architecture Vol.1).
@w1d3r75
@w1d3r75 3 жыл бұрын
Also, patterns are not mandatory. Don't try to force a pattern implementation
@peerreynders1824
@peerreynders1824 3 жыл бұрын
The other thing that can be instructive when learning a design pattern is discovering how SOLID design principles are reflected in the implementation of the pattern. The GoF Book was published in 1994, SOLID was formulated in 2000 though some of the principles were identified earlier. It's just important to remember that the SOLID design principles are simply guiding principles - not laws. Developers new to SOLID often treat them as hard and fast rules to the point of dogma. That is not how they are supposed to be used. "The SOLID Design Principles Deconstructed (2013)" kzbin.info/www/bejne/qn66YWuAoKuleKM It needs to be emphasized that the "Single Responsibility Principle" is often interpreted as "do one thing" - which is a gross oversimplification. The actual description is: "Gather together those things that change for the same reason, and separate those things that change for different reasons." github.com/97-things/97-things-every-programmer-should-know/blob/master/en/thing_76/README.md "change for the same reason" is very different from "do one thing". Similarly DRY (Don't Repeat Yourself) is often misrepresented as being about "eliminating duplication". The core idea is described by: "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system". Sometimes things just _look_ the same without representing the same thing. If they have different reasons for changing they are not the same - even if they look duplicated right now.
@lexsoft3969
@lexsoft3969 3 жыл бұрын
It may be not really hard to understand those patterns, but the implementation is. I am considering to implement several of those patterns in my web app. But javascript (ES2015 or later) or typescript doesn't provide way to create abstract classes like in the examples of the book. The 1st pattern which comes to my mind is Builder (not covered here) for generating reports which varies depending on client characteristics and other conditionals. The 2nd one is Adapter. I will see whether I will need facade, factory method or not.
@KeshaShah1106
@KeshaShah1106 2 жыл бұрын
1. Singleton (DB driver) 2. Facade (building front view) 3. Bridge/Connector (APIs) 4. Strategy ( notification to sales clients) 5. Pub-Sub/Observer (event based)
@Aced_Dreamer
@Aced_Dreamer Жыл бұрын
cool
@duanalfred8867
@duanalfred8867 Жыл бұрын
thanks for your summary
@marshalnzenza6732
@marshalnzenza6732 Жыл бұрын
thanks
@surfviewgardens2396
@surfviewgardens2396 3 жыл бұрын
Who knew that Conan O'Brien is a coder? Fascinating.
@adnan4750
@adnan4750 3 жыл бұрын
😂😂not me.....and yes they look the same
@akocbowievillasenor9592
@akocbowievillasenor9592 3 жыл бұрын
Gold
@user-rt4ly8ex9x
@user-rt4ly8ex9x 3 жыл бұрын
Hmmteresting
@cristian5370
@cristian5370 3 жыл бұрын
If Conan and Chris Hansen fused
@manikantaraju9137
@manikantaraju9137 3 жыл бұрын
😂 👌.... Lil chubby tho.
@hcx1853
@hcx1853 3 жыл бұрын
2:14 Singleton Pattern 3:50 Facade Pattern 5:47 Bridge/Adapter Pattern 8:02 Strategy Pattern 9:48 Observer Pattern (PubSub)
@keithprice7119
@keithprice7119 3 жыл бұрын
The timestamps are already in the description.
@MrNsaysHi
@MrNsaysHi 3 жыл бұрын
And already divided into chapters
@kwakuboateng8067
@kwakuboateng8067 2 жыл бұрын
@@MrNsaysHi 00 Z yi
@Mark98T
@Mark98T 2 жыл бұрын
what a sad comment, isn't it?
@uoweme5grand
@uoweme5grand 3 жыл бұрын
Thanks Jack! I have been reading the simplified version of the books you recommended (head first into design pattern). I am sort of overwhelmed by all the design patterns introduced in there and I have a hard time retaining it. This video has provided me with a good summary and it helps me prioritize which ones I should spend more time on. Thanks!
@tamasbalint1597
@tamasbalint1597 2 жыл бұрын
I love the way you talk about design patterns and giving fantastic examples. Thank you so much for sharing your knowledge.
@MrMuscidae
@MrMuscidae 3 жыл бұрын
Best description of the Facade pattern that I ever heard, the compiler analogy was brilliant!
@ibrahimkconteh
@ibrahimkconteh 3 жыл бұрын
thanks Brad! i literary know anything when i first started to read this book he mentioned and i had a whole video attached to it yet find it very difficult but now i just end up here listening to the tutor i am amazed. I can now go on and do my designs .
@CodeJourney
@CodeJourney 3 жыл бұрын
Best book ever for design patterns, solid advice. I would add the factory pattern, decorator, and command too, I think those 3 are key to understand and design better solutions. Long life to Design Patterns! Thanks Brad and Jack for sharing!
@msc8382
@msc8382 3 жыл бұрын
talking about fundamentals, yes. The truth is every situation has its own type of best maintainable and readable solution. What you'll see is that people will merge different design patterns together while a more specialised, lesser known pattern is already available. So if you talk about practicality, its still better to learn all of the common 150 or so patterns. Note: I'm not exclusively talking about software patterns here. Learn of the reverse too: anti-patterns. They're indicators of bad pattern implementation which practically always is going to cost somebody time and effort that could have been avoided.
@voltydequa845
@voltydequa845 3 жыл бұрын
Ah, I wonder what was the programming life before the era of patterning the common sense.
@cassolmedia
@cassolmedia 3 жыл бұрын
I'm really loving the new direction of the channel! we get so much variety that I otherwise may not have come across or been interested in.
@TheNerdyDev
@TheNerdyDev 3 жыл бұрын
Jack is a great guy. Thanks for sharing your knowledge and experience on the channel. Really enjoyed the video !
@avinashd2481
@avinashd2481 2 жыл бұрын
Hey Jack, your overview on design patterns made me rethink those services that I used unconsciously at my job and thank you for the valuable insights.
@ericvosselmans5657
@ericvosselmans5657 2 жыл бұрын
I've been using design patterns since only recently. I found throughout the years, many design patterns already naturally started appearing in the code I write, because it's just a sensible thing to do.
@nickfausti6194
@nickfausti6194 3 жыл бұрын
This is incredible, thank you! Amazing how you can turn something as (seemingly) dry as design patterns into something entertaining and informative. Well done.
@EnLaMitad
@EnLaMitad 3 жыл бұрын
I love what's going on with this channel lately. Subscribed to Jack's channel. Thanks.
@prashantmishra5691
@prashantmishra5691 3 жыл бұрын
Loved it. Must watch for all devs. Thanks for this Jack. Thanks again, brad.
@SpencerYork1534
@SpencerYork1534 3 жыл бұрын
This video is of the highest quality. Love the content. Love the production.
@siphiwocode
@siphiwocode 3 жыл бұрын
"There can be only one" classic. Thanks for the video, much appreciated
@Eghizio
@Eghizio 2 жыл бұрын
Monke Flip
@SuperAwesomeReasons
@SuperAwesomeReasons 3 жыл бұрын
Love the framework consumer vs framework creator bit at the beginning!
@oldbootz
@oldbootz 3 жыл бұрын
High quality content, loving it! Got my like when you whipped out that old book!
@fouksmam
@fouksmam 2 жыл бұрын
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.
@EddyVinck
@EddyVinck 3 жыл бұрын
I love the Facade Pattern. One of my other favorites not covered in the video is the factory pattern in JavaScript. Watching this later!
@thatoneuser8600
@thatoneuser8600 2 жыл бұрын
Which factory; there are so many different types of factory patterns
@mr.minister5018
@mr.minister5018 Жыл бұрын
Thanks Jack, I was looking for a brief explanation on the scope of design patterns and your examples covered it very well :D Will be checking out more of your videos!
@jansmycka4338
@jansmycka4338 Жыл бұрын
Holy cow, the first minute hits the nail on the head SO MUCH. I am "Senior" but still lame Framework consumer.
@StarContract
@StarContract 3 жыл бұрын
Design patterns make tough problems easy and impossible problems tough. Essential for gaining expertise in your field. A game developer *must* know common design patterns as well as be able to formalize new ones for the problems at hand
@ShaunForan
@ShaunForan 3 жыл бұрын
I'm a simple man...I see a video by Jack, I give a like. Awesome content!
@charlesbaldo
@charlesbaldo 3 жыл бұрын
Thank you, i finally understand Singleton and it was so straightforward.
@cemery50
@cemery50 3 жыл бұрын
I like your clean and simple descriptions of pros and cons and I especially liked your touching on refactoring code from one pattern to another....I feel that micro-services are an embodyment of observer/Pub-sub and soo may eliminate the need to hard code the logic of the pattern....my own view is evolving to imutable (where possible) event stream workflow sagas of micro-services in containers. I like the use of UML in visualizing/creating patterns (and anti-patterns).
@Rustcode
@Rustcode 3 жыл бұрын
2:10 Singleton Pattern 3:30 Facade Pattern 5:40 Bridge/Adapter Pattern 8:00 Strategy Pattern 9:50 Observer Pattern (PubSub) Informative video 👍👍
@ArquimedesOfficial
@ArquimedesOfficial 3 жыл бұрын
So glad to see a great engineer with same thoughts about the distinction between "programmer consumer" and "programmer creator".
@nomoreabdi745
@nomoreabdi745 3 жыл бұрын
Oh man right now I'm studying patterns, SOLID, and stuff like that and this just popped in my recommended and it was hugeeeee, really helpful, I'm grateful for this, please this guy Jack keep up the content
@matthewzecchini9951
@matthewzecchini9951 3 жыл бұрын
Great topic! Just started studying design pattern and SOLID. Makes you understand HOW to write software vs writing code.
@gamersforever1585
@gamersforever1585 3 жыл бұрын
the same here I just started learning about design patterns and as you said we learn how to write code but as developers, we need to learn how to write good software.
@voltydequa845
@voltydequa845 3 жыл бұрын
And what would be the differsnce?
@matthewzecchini9951
@matthewzecchini9951 3 жыл бұрын
@@voltydequa845 in the simplest way I can think to explain it (I only have 2 years experience), writing code is making something work. Writing software is taking into account the future, the current architecture, the maintenance costs of the code (which can be very expensive) and many more factors in addition to it working.
@jamesharris3109
@jamesharris3109 3 жыл бұрын
Thank you so much for making editing, & posting this video.
@TheAngelOfDeath01
@TheAngelOfDeath01 2 жыл бұрын
I can attest to each and every one of these. Good video for everyone from beginners to advanced old timers.
@Nicxlive
@Nicxlive 3 жыл бұрын
One of the best tech videos I have ever seen
@manfredconnor3194
@manfredconnor3194 Жыл бұрын
I really enjoy your videos. I wish I was as good at following through as I am at watching them.
@Infinitude
@Infinitude 3 жыл бұрын
Thanks for sharing the design patterns, Loved the Content.
@AlmantasKarpavicius
@AlmantasKarpavicius 3 жыл бұрын
Singleton is an anti-pattern in most cases- definitely should not be used for datastore- we don't want global connections! Normally, the kind of singletons we use these days is using IoC container- global lifetime objects (lifetime=Singleton) Bridge and adapter are two completely different things. When the guy talks about the bridge, he actually talks about the adapter. Adapter adapts a 3rd party interface into your own system. Bridge separates the abstraction from implementation allowing you to have both changing independently. There are two very different problems being solved there. Adapter is very commonly used, Bridge is quite rare. Also, the adapter is absolutely not implemented that way: you wrap a FOREIGN component (interface or class) under YOUR class which supports YOUR interface. That's the whole point of it- through that, we can make foreign API conform to our own abstractions. Simply having multiple implementations of the same is not an Adapter pattern. Facade is good, though it often comes out naturally when you apply common sense. Same for Strategy pattern. Observer is awesome, true. Many many applications and implementations, though at the core it simply is: subject and observer. The subject can: attach, detach and notify; the observer can react to notifications.
@msc8382
@msc8382 3 жыл бұрын
@Dark of the knight That's the only reason to use singleton; utilities that don't keep information inside the utility after the operation finished. Think of C# Math static class for example. In any other case, you simply design the object as if they can be instantiated multiple times, but only make one single instance that is globally available within the project. If you use singleton properly, you'll only have utility classes in the global space with just one domain class. Any other domains are separated by interfaces and usually located in other libraries or modules.
@xellos5262
@xellos5262 3 жыл бұрын
There was a nice explanation why singleton is an anti-pattern. I don't remember where I read it, but it stuck with me. What follows is not quite a quote! "Back then we wanted to avoid duplicating state through multiple instances. Today we avoid having state, so we don't need this anymore. Back then we wanted to avoid building the same object twice, today we avoid expensive constructions, so we don't need this anymore. Singleton is an anti-pattern, because it leads you down a path you don't wish to follow. If you find yourself needing it, you probably took a wrong turn already."
@AlmantasKarpavicius
@AlmantasKarpavicius 3 жыл бұрын
@Dark of the knight just because you use it often, doesn't mean it's the best choice. Also, I had no Web-based stuff in mind, no idea what are you on about. Singletons are bad for the same reason why global state is bad. It is global, but supports OOP features like abstraction.
@AlmantasKarpavicius
@AlmantasKarpavicius 3 жыл бұрын
@@msc8382 static!=Singleton. Singleton will initialize state a globally accessible state. That's the only reasons it's there. Do we want that? Sometimes, yes. Fir example app config will only be one, scene scene transition manager in games will be one, etc.
@maxb5919
@maxb5919 3 жыл бұрын
also singletone is bad if you are using it in concurrent app. You would need to handle race condition and all that stuff. But in single-threaded languages like js it's pretty useful in some cases.
@dhrubanka6197
@dhrubanka6197 3 жыл бұрын
Much needed.. The thing most beginners misses
@TraversyMedia
@TraversyMedia 3 жыл бұрын
I agree. I did not even look into design patterns until maybe 2 years after I started coding
@dhrubanka6197
@dhrubanka6197 3 жыл бұрын
Thanks brad for the reply. Hope to see a cool series on Design patterns soon
@mykalimba
@mykalimba 3 жыл бұрын
There's a reason most beginners don't know design patterns: they're not a beginner-level concept. The chart near the start of the video (1:25) kind of illustrates this.
@Foozie3moons
@Foozie3moons 3 жыл бұрын
To be fair, programming design patterns require a certain level of proficiency to fully comprehend.
@sokoyaadedolapo5321
@sokoyaadedolapo5321 3 жыл бұрын
Yes you're right
@nirmalkumar3282
@nirmalkumar3282 2 жыл бұрын
Thanks Brad, Thanks Jack for sharing the information
@DevPremier
@DevPremier 3 жыл бұрын
Design Patterns Series could be The Most awaited series and Most useful series for everyone besides of their stack.
@SteveBetner
@SteveBetner Жыл бұрын
Great overview of the most important patterns (in my opinion)!
@freekeys
@freekeys 3 жыл бұрын
Awesome ❤️ @brad and guests 🙏
@samthomas200
@samthomas200 3 жыл бұрын
I would strongly recommend the MV* pattern as well for any non-trivial web development (can be extended to toher use cases as well)
@AnimeSongsNightcore
@AnimeSongsNightcore 3 жыл бұрын
Please more videos about best practices, design patterns and advanced topics. I love your explanation.
@ErsinFahredin
@ErsinFahredin 3 жыл бұрын
Thanks for the info!
@mastercdgb
@mastercdgb 3 жыл бұрын
This was very informative Brad. Thank you very much. I would really love to see some videos on system design and architecture.
@mandihaase2744
@mandihaase2744 2 жыл бұрын
Amazing overview! Thank you so much!
@eesakamaldien1917
@eesakamaldien1917 2 жыл бұрын
You are the best teacher... You are my guru now
@ramchillarege1658
@ramchillarege1658 Жыл бұрын
Stumbled across your video. Nice presentation. Thanks. Wonderful to hear about this.. Vlissides was a great guy. My friend from days gone by.
@bokunochannel84207
@bokunochannel84207 Жыл бұрын
software architecture is harder than technical coding, glad this tutorial exists.
@aaronalquiza9680
@aaronalquiza9680 3 жыл бұрын
my favourite pattern is probably Memento with performance optimizations. it allows me to exercise my skills on many different data structure algorithms.
@mikesanders8397
@mikesanders8397 Жыл бұрын
This was extremely helpful. Thank you.
@angeloluisrocattojunior3425
@angeloluisrocattojunior3425 3 жыл бұрын
Template Method is a good Design to learn too. It's used in the PHP Frameworks (Laravel, Zend) and in Java, e.g., in Servlet classes.
@kimdavidj2
@kimdavidj2 3 жыл бұрын
Thank you for the video, well explained!
@ahmedp8732
@ahmedp8732 3 жыл бұрын
Thanks Brad. Great content! I would really like to see some .Net core projects using VS code. I use Linux Ubuntu, so I can't use Visual Studio. With .Net 5 on it's way, I think there will be a renewed interest in .Net development.
@anitin3
@anitin3 3 жыл бұрын
Great explanation Thank you
@Gadrawingz
@Gadrawingz 2 жыл бұрын
The world 🌎 pays much respect these men!!
@muneebmukhthar4880
@muneebmukhthar4880 3 жыл бұрын
Sincerely i watched this many times to understand!😉
@manueldiera6781
@manueldiera6781 3 жыл бұрын
This was excellent!! Thank you.
@lighttravel3407
@lighttravel3407 3 жыл бұрын
Having quit development 25 years ago and looking to jump back in, it is great to see the same book still being used.
@gilian2587
@gilian2587 2 жыл бұрын
Principles are valuable. They always have been, and they always will be.
@alexgochenour8740
@alexgochenour8740 2 жыл бұрын
I really liked this video. Great perspective.
@wzpu3283
@wzpu3283 2 жыл бұрын
Thank you Sir for the excellent explanations.
@zunnfix8295
@zunnfix8295 3 жыл бұрын
I didn't know Conan O' Brian was also an engineer. Brilliant!
@mar25947
@mar25947 3 жыл бұрын
I was looking for this comment,lol 🤣
@LuisPerez-mw5kl
@LuisPerez-mw5kl 2 жыл бұрын
Excellent video, thanks a bunch, greetings from Mexico - Oaxaca
@HSharpknifeedge
@HSharpknifeedge Жыл бұрын
Thank you! Great video.
@micknamens8659
@micknamens8659 2 жыл бұрын
In the original Observer pattern the sender of an event doesn't care whether any subscriber is listening at all (typically in sync communication) (like a radio station sending at night), whereas the whole purpose of a message queue system is to ensure that the message is delivered to the "right" receiver (whatever this might be) in an async communication (like talking to an aswering machine not knowing who will listen to your message).
@slavuter
@slavuter 3 ай бұрын
thanks brad and your videos are awesome!👌
@Julio860JVL
@Julio860JVL 3 жыл бұрын
I read the title and I said “Oh yeah, he’s gonna mention MVC and let’s see what else I learn.” But instead of learning, what I got from this video was a kick from my imposter syndrome right where it hurts the most.
@davidnichol4735
@davidnichol4735 3 жыл бұрын
Right? It seems so obvious now...
@karaway2117
@karaway2117 3 жыл бұрын
syndrome Was The Imposter
@pranavambhore9215
@pranavambhore9215 2 жыл бұрын
You're a sus? Me too.
@bommaritohawaii
@bommaritohawaii 3 жыл бұрын
Good work Jack!
@eigentlichtoll02
@eigentlichtoll02 2 жыл бұрын
I really like this revisiting of old school software ideas but re-explained/-considered
@sabuein
@sabuein Жыл бұрын
Thank you, Jack.
@TechWithPat
@TechWithPat 3 жыл бұрын
"Design pattern"s by the gang of four is a classic but it is intimidating for the beginner, the example in C++ and Smalltalk doesn't help either. I prefer the more accessible "Head First Design Patterns", which is easy to read and has examples in Java.
@KiddyLovely93
@KiddyLovely93 2 жыл бұрын
thank you so much
@adventurer2395
@adventurer2395 11 ай бұрын
Adapter pattern is so essential for extending software. Should def be here.
@osamaa.h.altameemi5592
@osamaa.h.altameemi5592 3 жыл бұрын
Can we safely say the strategy pattern is the basis for micro-services? Fantastic video, what about doing a series for the entire book. Once again, thank you.
@hbar45
@hbar45 2 жыл бұрын
10:20 I remember experimenting with the Observer Pattern and exactly this happened to me. I felt that in my soul.
@atmospheric_b
@atmospheric_b 3 жыл бұрын
Jack is awesome. Thanks
@hemantgaikwad3352
@hemantgaikwad3352 2 жыл бұрын
Nice information. Thank you! 👍
@TheDibs4
@TheDibs4 3 жыл бұрын
Thanks for discussing the cons also
@islamicsolution5618
@islamicsolution5618 2 жыл бұрын
Very informative topics you discuss.
@shoaibahmed342007
@shoaibahmed342007 2 жыл бұрын
Thanks for the knowledgeable video.
@marlonmagonjo5693
@marlonmagonjo5693 3 жыл бұрын
Much appreciated👊🏽
@its_magnetic
@its_magnetic 3 жыл бұрын
Thank you. Love and respect 🙏 from Sikkim, India 🇮🇳.
@siddharthkr.6193
@siddharthkr.6193 3 жыл бұрын
Shut up I am from India too okay but this shows that you are one of the freaks who write "love from India
@vinidevjiu
@vinidevjiu 3 жыл бұрын
i love your videos...i ve done some of yours courses in udemy. Great content!
@idespisegravity
@idespisegravity 2 жыл бұрын
I was goi8ng to say, "Thanks, Conan O'Brien's dad," but it seems I'm not the first to make that connection. In all seriousness, though, this was an absolutely fantastic video. You do a fantastic job of explaining these design patterns in a way that really helps to conceptualize and understand them. Thank you!
@ErikBongers
@ErikBongers 3 жыл бұрын
Best advice from this video: you can bring the patterns in later. Already decades ago, we had to add layers and layers in between source and destination so that everything would be pluggable. Which was purely hypothetical. Nothing was ever plugged in or swapped out.
@firebrickfilmstv
@firebrickfilmstv 3 жыл бұрын
Good video! Happy to see more theory on the channel, maybe some datastructure/algorithm videos?
@voltydequa845
@voltydequa845 3 жыл бұрын
Nothing to do with theory. Just naming of different wheels.
@shubhamchandra9258
@shubhamchandra9258 Жыл бұрын
pretty darn amazing.
@elpmid
@elpmid 3 жыл бұрын
This is so helpful. Thanks!
@cyizarwanda5488
@cyizarwanda5488 2 жыл бұрын
It's nice to finally put a face to the voice of the man who has made me into the man I am today...
@ramdaneoualitsen1323
@ramdaneoualitsen1323 Жыл бұрын
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.
@turokII
@turokII 2 жыл бұрын
Great content, thanks!
@9888622400
@9888622400 2 жыл бұрын
Thanks Man, Amazing Video!!
@andrijavranic5058
@andrijavranic5058 2 жыл бұрын
Dear Brad, this was such a cool move! kudos and restepkah ;)
@XinoMbr
@XinoMbr Жыл бұрын
Thank you for the content! :)
@luiscarloscruzcastillo3192
@luiscarloscruzcastillo3192 3 жыл бұрын
I learnt the strategy pattern from Head First Design Patterns, I think that change the behavior of a object in runtime it's kind of cool
@TheAceInfinity
@TheAceInfinity 2 жыл бұрын
Factory pattern and Builder pattern are two other ones that I think are also very useful.
@ryadderdar991
@ryadderdar991 3 жыл бұрын
awesome talk, thanks !
@P1oN4ik
@P1oN4ik 3 жыл бұрын
Thanks! Nice video! Need more something like that ))
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 134 М.
8 Design Patterns EVERY Developer Should Know
9:47
NeetCode
Рет қаралды 958 М.
Süper ❤️ Cute 💕💃 #dance
00:13
Koray Zeynep
Рет қаралды 21 МЛН
How Senior Programmers ACTUALLY Write Code
13:37
Healthy Software Developer
Рет қаралды 1,2 МЛН
Top 5 Most Used Architecture Patterns
5:53
ByteByteGo
Рет қаралды 192 М.
Strategy Pattern - Design Patterns (ep 1)
35:11
Christopher Okhravi
Рет қаралды 1,4 МЛН
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 419 М.
SOLID Principles: Do You Really Understand Them?
7:04
Alex Hyett
Рет қаралды 100 М.
8 Design Patterns | Prime Reacts
22:10
ThePrimeTime
Рет қаралды 369 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,5 МЛН
🔥Новый ЛИДЕР РЫНКА СМАРТФОНОВ🤩
0:33
The PA042 SAMSUNG S24 Ultra phone cage turns your phone into a pro camera!
0:24
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Рет қаралды 4,7 МЛН
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Рет қаралды 969 М.
Subscribe for more!! #procreate #logoanimation #roblox
0:11
Animations by danny
Рет қаралды 3,2 МЛН
Распаковка айфона в воде😱 #shorts
0:25