The Strategy Design Pattern - Ep 22 - C++ Coding

preview_player
Показать описание
The Strategy Pattern can be very useful for swapping algorithms within an object's composition.
---
Notable Video Resources:
▶ Refactoring Guru Design Patterns Website
---
Video Written, Edited, & Produced By:
▶ Matthew Early
---
Some of Matt's Other Stuff (feel free to follow!):
---
Thanks for watching! I appreciate any and all support!
Discord (public invites open) and Patreon (help me keep making tutorials and videos, as well as get more support from me) Links are on the About page of this channel.
Рекомендации по теме
Комментарии
Автор

I really like these kinds of videos that show how to tackle different problems with appropriate strategies! There's not a lot alike on YouTube. Thanks a lot!
I'm just a hobby programmer, however I've read somewhere that base types (int, float, double, char, etc.) should not be passed by reference, since the overhead of getting the reference and passing it on is often greater than simply making a copy. I don't know whether that's true or not, but it sounds good.

MarcsYoutube
Автор

I like your videos they are amazing and I am learning from you. Best resources I found on design patterns so far. I have only one note that I really appreciate if you work on it which is : select names carefully. implement fully including smart ptrs. I have seen that you skip this but I believe it is really important to have a concrete examples.

AI-Youtube-pjxz
Автор

Love video game strategy because it makes it fun but also identifiable to things I am interested in working on, and many others! Another awesome video to this series!!!

reverse_shell
Автор

Hi, I find Factory and Strategy pattern quite similar. I have checked many articles but not able to understand the difference between these two. Can you please help ? what are the common difference between implementation of these two design patterns.

Mayank
Автор

I would love to see a SDL2 C++ Game engine tutorial series, not because I'm doing an engine using sdl no.. not at all..
Jokes aside, I discovered your channel recently and it has been a great source of information, I have been learning a lot, thanks for that!.

Protonmat
Автор

You could make your game with us. Like showing how you are implementing stuff. The tips and tricks. Like a dev log. Maybe you can skip over the art and spoiler part if you don't want to spoil the game itself...

developerdeveloper
Автор

There is some great content in these videos. It could be improved immensely if you pre-planned and did not make changes as you go along. Sorting the wheat from the chaff can be hard work.

micromouseonline