Тёмный

Design Patterns: Strategy 

Microsoft Visual Studio
Подписаться 324 тыс.
Просмотров 38 тыс.
50% 1

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

Наука

Опубликовано:

 

17 июл 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@fwd79
@fwd79 5 лет назад
Full list for this series: 0. SOLID Design Patterns (start from here): ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-agkWYPUcLpg.html 1. Design Patterns: Command/Memento: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zRbHlDeon3E.html 2. Design Patterns: Strategy: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QZIvlny1Onk.html 3. Design Patterns: Template Method: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MfAvs0n9uMs.html 4. Design Patterns: Observer and Publish-Subscribe: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-72bdaDl4KLM.html 5. Design Patterns: Singleton: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sbML3xFHRbI.html 6. Design Patterns: Factories: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JEk7B_GUErc.html 7. Design Patterns: Adapter and Façade: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XYa0rmRMZ1Q.html 8. Design Patterns: Decorator: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6PPMR0GWrZQ.html
@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 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QZIvlny1Onk.html&ab_channel=MicrosoftVisualStudio
@Jebusankel
@Jebusankel 7 лет назад
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.
@danstoian7721
@danstoian7721 Год назад
I appreciate you guys so much for you work! It's good quality, yet simple! Good job!
@lingyongwang2817
@lingyongwang2817 5 лет назад
This is great. Thanks for sharing
@dzxxbj
@dzxxbj 7 лет назад
Can you provide the link of before video of this series?
@cyberclaim
@cyberclaim 6 лет назад
Guys that was hilarious! :) Loved it. Keep the good work!
@randomusername982374
@randomusername982374 7 лет назад
Thanks so much!
@kesavanarayana6257
@kesavanarayana6257 6 лет назад
It very helpful if you can make video on dispatcher pattern
@user-um6rb3vk9e
@user-um6rb3vk9e 9 месяцев назад
How many accounts do you have? Or you trading from a single one? tell us pls
@burnsnewman
@burnsnewman 4 года назад
I think a stateless example would be better.
@AdityaDodda
@AdityaDodda 7 лет назад
I have seen lot of playlists on RU-vid 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
Просмотров 34 тыс.
Design Patterns: Adapter and Façade
22:29
Просмотров 17 тыс.
The Trump rally shooting from a photographer's POV
00:58
Strategy Pattern - DESIGN PATTERNS (C#/.NET)
20:36
Просмотров 3,2 тыс.
Design Patterns: Decorator
17:21
Просмотров 25 тыс.
Design Patterns: Singleton
16:11
Просмотров 28 тыс.
The Strategy Pattern: Write BETTER PYTHON CODE Part 3
15:31
Design Patterns: Factories
25:26
Просмотров 54 тыс.
The Smart Way of Using the Decorator Pattern in C#
12:37
8 Design Patterns | Prime Reacts
22:10
Просмотров 394 тыс.
Dependency Injection
45:17
Просмотров 146 тыс.
Are Design Patterns Dead in C#?
17:48
Просмотров 46 тыс.
Красиво, но телефон жаль
0:32
Просмотров 1,3 млн
Battery  low 🔋 🪫
0:10
Просмотров 11 млн
Красиво, но телефон жаль
0:32
Просмотров 1,3 млн