Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
The Factory Design Pattern is Obsolete in Python
Play lesson

Software Design in Python - The Factory Design Pattern is Obsolete 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. What would the Factory Pattern look like if it was invented today instead of in the 90s? I talk about the design principles behind the Factory Pattern, and how you can achieve the same thing, but even better, by using modern Python features. If you haven't watched my earlier video about the Factory pattern, here it is: https://youtu.be/s_4ZrtQs8Do. The code I worked on in this video is available here: https://github.com/ArjanCodes/2021-pythonic-factory. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses. 💬 Join my Discord server: https://discord.arjan.codes. ⌨️ Keyboard I’m using: https://amzn.to/49YM97v. 🔖 Chapters: 0:00 Intro 1:05 Explaining the example 2:44 Analyzing the Factory pattern 3:56 Using a Protocol class 7:29 Caveats of Protocols 9:24 Using Tuples to create factories 14:29 Caveats of tuples 15:26 Using dataclasses and __call__ 22:13 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