10 Python Anti-Patterns That Are Breaking Your Code
➡️ Try Lokalise today: https://bit.ly/arjancodes. Think your Python code is clean? Think again. In this video, I’m exposing 10 Python anti-patterns that look smart, but secretly create chaos. Stick around to see if you’re guilty of any… I know I was. 🔥 GitHub Repository: https://git.arjan.codes/2025/anti. 🎓 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 0:26 Using Exceptions for Control Flow 4:06 Using Classes with Only Static Methods Instead of Modules 5:15 Overriding Dunder Methods in Surprising Ways 9:33 Hardcoded Values Throughout Your Code 13:54 Writing Custom Decorators Just to Inject Stuff 15:57 Over-Engineering with Design Patterns You Don’t Need 19:00 Inappropriate Intimacy 20:39 Not Using Abstraction 23:14 Importing Everything with a Wildcard 24:15 Not Using Built-in Tools and Libraries 24:51 Final Thoughts #arjancodes #softwaredesign #python

10 Tips to Keep Your Software Simple

Why Your Code Isn’t Pythonic (And How to Fix It)

We Studied 150 Developers Using AI (Here’s What's Actually Changed...)

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

Coupling 101: Design Choices That Make or Break Your Code

Stop Overusing Classes in Python

Python 3.14: The NEW T-strings are Awesome

The Tiny Donut That Proved We Still Don't Understand Magnetism

Retry Pattern: The Secret to Resilient Python Code

Trump Threatens Late Night TV Again, Might Be Upset We Won a Peabody & His Suspicious Health Report

I Tried SOLID Principles in Python… Here’s What Happened

7 Python Mistakes That Instantly Expose Junior Developers

I Hacked This Temu Router. What I Found Should Be Illegal.

How (and why) to take a logarithm of an image

Stop Writing Brittle Python Functions

10 Python Tips That Separate Juniors From Seniors

My Favorite Code "Anti-Patterns" (Break These)

Stop Hardcoding Everything: Use Dependency Injection

Why the Plugin Architecture Gives You CRAZY Flexibility

