Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
How to Implement the Strategy Design Pattern in Python
Play lesson

Software Design in Python - How to Implement the Strategy Design Pattern in Python

4.0 (1)
31 learners

What you'll learn

This course includes

  • 31.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. This video covers the Strategy pattern, but also looks at a few varieties of the pattern using Python features such as Protocol classes, dataclasses, the __call__ dunder method, and closures. The code I worked on in this video is available here: https://github.com/ArjanCodes/2021-pythonic-strategy. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/ 🔖 Chapters: 0:00 Intro 1:23 Explaining the example 3:54 About the Strategy pattern 4:40 #1: Classic OO version 11:58 #2: Using protocols 14:20 #2: Using the __call__ dunder method 16:21 #4: Using functions 22:45 #5: Using closures 26:01 Final thoughts #arjancodes #softwaredesign #python

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere