Design Patterns: Strategy

  Рет қаралды 37,601

Microsoft Visual Studio

Microsoft Visual Studio

6 жыл бұрын

This is the second of an eight part series where Robert is joined by Phil Japikse to discuss design patterns. A design pattern is a best practice you can use in your code to solve a common problem. In this episode, Phil demonstrates the Strategy pattern. This pattern enables an algorithm's behavior to be selected at runtime.
Resources:
- Sample code: github.com/skimedic/presentat...
- Design Patterns: Elements of Reusable Object-Oriented Software book: www.amazon.com/Design-Pattern...
- Head First Design Patterns book: www.amazon.com/Head-First-Des...

Пікірлер: 15
@fwd79
@fwd79 5 жыл бұрын
Full list for this series: 0. SOLID Design Patterns (start from here): kzbin.info/www/bejne/l5jOiIyGish_psk 1. Design Patterns: Command/Memento: kzbin.info/www/bejne/sIPFeZ96mtShaac 2. Design Patterns: Strategy: kzbin.info/www/bejne/h4usp5-krpaCpM0 3. Design Patterns: Template Method: kzbin.info/www/bejne/g5ekp6Zmo56og9U 4. Design Patterns: Observer and Publish-Subscribe: kzbin.info/www/bejne/bWPFlZR6oZl-gq8 5. Design Patterns: Singleton: kzbin.info/www/bejne/qZOwfWaue62FmKs 6. Design Patterns: Factories: kzbin.info/www/bejne/gHbOaHWVfLp4qMU 7. Design Patterns: Adapter and Façade: kzbin.info/www/bejne/jorEYaWjh7KNZ7M 8. Design Patterns: Decorator: kzbin.info/www/bejne/bIGzfoVmfLylkLM
@master-azazel
@master-azazel 3 жыл бұрын
such a great series. rewatching all of them before software architecture exam later this week
@sufianahmad7337
@sufianahmad7337 3 жыл бұрын
I love the videos but I don't know why there is not a playlist for design patterns as I want a sequence to learn all the design patterns. Overall it helps a lot.
@Hasi29347
@Hasi29347 3 жыл бұрын
kzbin.info/www/bejne/h4usp5-krpaCpM0&ab_channel=MicrosoftVisualStudio
@danstoian7721
@danstoian7721 Жыл бұрын
I appreciate you guys so much for you work! It's good quality, yet simple! Good job!
@Jebusankel
@Jebusankel 6 жыл бұрын
I thought the description of "changing behavior at runtime" was confusing because it just sounds like just regular conditional logic, like an if/else or switch. But the superhero example clarified it and especially the "do your thing" phrase. I would recommend just highlighting that the different strategies are being defined in a different place than they are being executed, whereas in simple conditional logic those are together.
@robotflynn1518
@robotflynn1518 4 жыл бұрын
I think that is what 11:45 is about. The demo code doesn't really capture it, but they do talk about that fact several times. I agree it would be cool to have flashing letters to really drive the point home haha.
@lingyongwang2817
@lingyongwang2817 5 жыл бұрын
This is great. Thanks for sharing
@dzxxbj
@dzxxbj 6 жыл бұрын
Can you provide the link of before video of this series?
@randomusername982374
@randomusername982374 6 жыл бұрын
Thanks so much!
@cyberclaim
@cyberclaim 6 жыл бұрын
Guys that was hilarious! :) Loved it. Keep the good work!
@user-um6rb3vk9e
@user-um6rb3vk9e 8 ай бұрын
How many accounts do you have? Or you trading from a single one? tell us pls
@kesavanarayana6257
@kesavanarayana6257 6 жыл бұрын
It very helpful if you can make video on dispatcher pattern
@burnsnewman
@burnsnewman 4 жыл бұрын
I think a stateless example would be better.
@AdityaDodda
@AdityaDodda 6 жыл бұрын
I have seen lot of playlists on KZbin for design patterns. This is by far the least useful for developers. it is good if you are real amateur and and want the intro paragraph as a dialogue. Chapter 1 is never coming. Too much philosophical talk.
Design Patterns: Command/Memento
31:08
Microsoft Visual Studio
Рет қаралды 34 М.
Design Patterns: Factories
25:26
Microsoft Visual Studio
Рет қаралды 54 М.
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 121 МЛН
Cat story: from hate to love! 😻 #cat #cute #kitten
00:40
Stocat
Рет қаралды 14 МЛН
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН
Design Patterns: Singleton
16:11
Microsoft Visual Studio
Рет қаралды 28 М.
Design Patterns: Template Method
14:07
Microsoft Visual Studio
Рет қаралды 15 М.
Design Patterns: Decorator
17:21
Microsoft Visual Studio
Рет қаралды 25 М.
Decorator Pattern - Design Patterns (ep 3)
54:35
Christopher Okhravi
Рет қаралды 473 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 171 М.
Facade Design Pattern (C#, Microservices)
11:55
Raw Coding
Рет қаралды 9 М.
8 Design Patterns | Prime Reacts
22:10
ThePrimeTime
Рет қаралды 379 М.
Как я сделал домашний кинотеатр
0:41
RICARDO
Рет қаралды 1,5 МЛН
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 6 МЛН
Xiaomi Note 13 Pro по безумной цене в России
0:43
Простые Технологии
Рет қаралды 1,9 МЛН
Куда пропал 3D Touch? #apple #iphone
0:51
Не шарю!
Рет қаралды 608 М.
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 472 М.
Samsung or iPhone
0:19
rishton vines😇
Рет қаралды 8 МЛН