Why Use Design Patterns When Python Has Functions?

Опубликовано: 12 October 2024
на канале: ArjanCodes
107,927
2.5k

👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis.

In this video, I'll demonstrate that functions don't make design patterns obsolete in Python. There's a lot of talk in the developer community on the topic, and to illustrate my point, I'll look at a few common design patterns and show you an alternative approach using functions.

GitHub repository ➡️ https://git.arjan.codes/2023/funcpatt...

🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/

🔖 Chapters:
0:00 Intro
3:15 Strategy design pattern
8:04 Observer design pattern
15:06 Template Method
21:27 Bonus
22:39 Outro

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!