The Factory Method – Programming Design Patterns – Ep. 1 – C++ Coding

The Factory Method – Programming Design Patterns – Ep. 1 – C++ Coding

Homeand Tutorials, Code, TechThe Factory Method – Programming Design Patterns – Ep. 1 – C++ Coding
The Factory Method – Programming Design Patterns – Ep. 1 – C++ Coding
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
In this episode, we introduce the series and talk about the first pattern, a pattern that helps you create and manage things in your program.
Repo: https://github.com/codetechandtutorials/DesignPatterns

Chapter:
0:00 Introduction
2:10 New CMake project
3:53 Theory
5:39 Coding a factory
35:55 The clone variant
42:22 Outro

Corrections:
edit: As some have already pointed out, not everything about the factory method is covered here. I may write a sequel, but in the meantime, if you are interested, I would recommend reading up further on the subject at a place like this: https://springframework.guru/gang-of-four-design-patterns/

Additional book links
▶ https://amzn.to/3Q9oEMS – Gang of Four
▶ https://amzn.to/3tGRJ8T – Game Programming Patterns
▶ https://amzn.to/3Op5tNE – Game Engine Black Book: DOOM: v1.1
▶ https://amzn.to/3N1i48g – Game Engine Black Book Wolfenstein 3D: v2.1
▶ https://amzn.to/3N1J7k6 – Michael Abrash's "Graphics Programming Black Book" (special edition)

Notable video resources:
▶ https://stackoverflow.com/questions/69849/factory-pattern-when-to-use-factory-methods

Video written, edited and produced by:
▶ Matthew Frueh

Thanks for watching! I appreciate any support!

Some of Matt's other stuff (feel free to follow him!):
– https://linktr.ee/mearly

_Support:
https://www.patreon.com/codetechtuts?fan_landing=true
Patrons help keep this channel running and creating. If you don't like Patreon but still want to support it regularly, you can make a similar subscription through YouTube Join or through Github's sponsor button.

https://github.com/codetechandtutorials
This is where I saw most of the code on the channel.

https://discord.com/invite/TJ8Bs726jF
We have a Discord! We welcome all kinds of code and technical conversations.

https://twitch.tv/bytePro17124
I stream code and/or games every Thursday! I also stream randomly once or twice most weeks.

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.