The Factory Design Pattern is Obsolete in Python
💡 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:    • The Factory Pattern in Python // Separate ...  . The code I worked on in this video is available here: https://github.com/ArjanCodes/2021-py.... 🎓 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

The Factory Pattern in Python // Separate Creation From Use

The Builder Pattern in Python: Finally Explained!

How to Implement the Strategy Design Pattern in Python

The State Pattern Done the Pythonic Way

! Python design patterns masterclass

This Design Pattern Scares Me To Death

Why Tech CEOs Are Quietly Cancelling Their AI Plans

Solving A Common Issue With The Strategy Pattern // In Python

Prototype Pattern in Python: A Step-by-Step Guide

Charlie Marsh: uv: An Extremely Fast Python Package Manager

Don’t Use Boolean Flags in Python, Use Policies Instead

Real-Life Case of the Command Design Pattern

"We Ran Out Of Columns" - The Worst Codebase Ever

Things (Almost) No One Thinks About When Designing Functions in Python

The Strategy Pattern: Write BETTER PYTHON CODE Part 3

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Scott Irwin - A Hitchhiker’s Guide to functools

Python Abstract Factory Pattern Explained | Object Creation Made Easy

Factory Method Pattern – Design Patterns (ep 4)

