Two UNDERRATED Design Patterns 💡 Write BETTER PYTHON CODE Part 6

Published: 12 March 2021
on channel: ArjanCodes
71,802
2.7k

💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.

In this video, I talk about two underrated design patterns in Python: the template method pattern and the bridge design pattern. They're both really useful and when used in combination, they complement each other really well.

You can find the code I worked on in this episode in my GitHub repository: https://github.com/arjancodes/betterp...

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

🔖 Chapters:
0:00 Intro
0:33 Analysis of the example
3:20 Template method explanation
5:03 Implementing the template method
9:09 Bridge pattern explanation
10:56 Implementing the bridge pattern
15:59 Final thoughts

#python #programming #designpatterns