ArjanCodes - Videos
Back to ChannelRetry Pattern: The Secret to Resilient Python Code
👉 Get real-time, search result data from Google, Youtube and more with SerpApi: https://serpapi.link/arjan-codes. This video shows you how to stop your Python code from crashing when APIs, network...
How to Refactor Insanely Complicated Business Logic (Step by Step)
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Untangling deeply nested if/else logic is one of the hardest parts of working in real-world Python codebases. In t...
The Lazy Loading Pattern: How to Make Python Programs Feel Instant
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I dive deep into the **Lazy Loading pattern,** one of the simplest and most effective ways to make ...
Stop Hardcoding Everything: Use Dependency Injection
→ Check out Thesys here: https://www.thesys.dev/?utm_source=youtube&utm_medium=creators&utm_campaign=arjan In this video, I explore how Dependency Injection can make your Python code cleaner, more...
Stop Overwriting State And Use Event Sourcing Instead
→ Try Flox for free: https://flox.dev/?utm_source=youtube&utm_medium=social&utm_campaign=Arjan&utm_content=homepage In this video, I explore how to build an inventory system using the event sourci...
Learning Python Feels Easy. Until It Isn’t.
→ Python Programming Fundamentals course (DataCamp): https://datacamp.pxf.io/POPxVR → Associate Python Developer track (DataCamp): https://datacamp.pxf.io/Dy2oea Python is often praised as the ea...
Why Your Code Isn’t Pythonic (And How to Fix It)
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. What does it actually mean to write *Pythonic* code? In this video, we answer that question by taking a small, mes...
You’re Passing Way Too Many Arguments (and How to Fix It)
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Tired of passing five arguments to every function? In this video, I clean up a realistic Python codebase using the...
The Best Way to Share Code Between Python Apps
✅ Learn how to build robust and scalable software architecture: https://arjan.codes/checklist. In this video, I show you how to use uv workspaces to manage multiple Python apps—like a CLI tool and...
I Hate Long If-Elif Chains: This Design Pattern Solved It Once and For All
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. If your code is littered with endless if-elif chains just to handle different formats, behaviors, or commands, the...
My 4 Favorite Python 3.14 Features
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Python 3.14 is here, and it’s not just about pi. In this video, I’ll walk you through the four features I’m most e...
Anatomy of a Scalable Python Project (FastAPI)
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, we break down the anatomy of a scalable Python project using FastAPI and uv. You’ll learn how to se...
SOLID: Writing Better Python Without Overengineering
Check out https://www.squarespace.com/arjancodes to save 10% off your first purchase of a website or domain using code ARJANCODES. Are the SOLID principles still relevant when you’re writing Pytho...
The Real Reason the Singleton Pattern Exists
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Singletons are often criticized for introducing global state and making code harder to test—but there’s more to th...
Avoid Messy Code: Design Patterns for AI Agents in Python
Check out https://www.squarespace.com/arjancodes to save 10% off your first purchase of a website or domain using code ARJANCODES. If you’re building AI agents in Python and your code is starting ...
Python Has the Best Standard Library Ever: 10 Modules You Need to Know
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Python’s standard library is one of its greatest strengths, but many developers only scratch the surface. In this ...
PydanticAI: the AI Agent Framework Winner
Check out https://www.squarespace.com/arjancodes to save 10% off your first purchase of a website or domain using code ARJANCODES. Pydantic AI lets you integrate large language models like GPT-5 *...
We need to talk.
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. We all have assumptions that quietly hold us back. I’ve been guilty of this my whole career. In this video, I shar...
How to Write Great Unit Tests in Python
Check out https://www.squarespace.com/arjancodes to save 10% off your first purchase of a website or domain using code ARJANCODES. Want to learn how to write professional, maintainable unit tests ...
UV Just Got A Serious Upgrade
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I walk you through everything new in uv, including major improvements to performance, dependency ma...
Why Are Not More People Using These Python Libraries?
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Python’s standard library is one of its greatest strengths, but many developers only scratch the surface. In this ...
The Builder Pattern in Python: Finally Explained!
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I show you the Builder Pattern in Python. It’s a practical and underrated design pattern you’re pro...
Is SaaS Dead? Here's a Senior Engineer's Perspective
Check out https://www.squarespace.com/arjancodes to save 10% off your first purchase of a website or domain using code ARJANCODES. Is SaaS dead? Some claim AI agents and vibe-coded micro-SaaS will...
I Designed a Python SDK That Relies on… Deep Inheritance?!
Check out https://www.squarespace.com/arjancodes to save 10% off your first purchase of a website or domain using code ARJANCODES. Ever wondered how to build a clean Python SDK without a giant god...
This Is Why Your Python Code Turns Into Spaghetti
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Why do Python projects turn into spaghetti so easily? In this video, I show how using abstraction (with Callable, ...
It Seems I No Longer Use Python’s Dataclasses
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I take a deep dive into Python dataclasses in 2025. Are they still useful now that we have Pydantic...
Serverless on Google Cloud: What You Can and Can’t Do
➡️ Get started with Pulumi for free: https://www.pulumi.com/?utm_source=arjancodes. In this video, I’ll show you what Cloud Run Functions can and can’t do, how to work around common limitations, ...
MCP…. So What’s That All About?
✅ Learn how to build robust and scalable software architecture: https://arjan.codes/checklist. Want your AI tools to actually *do* something? In this video, I’ll show you how to integrate external...
Writing Python Functions Like a Mad Scientist
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Most Python developers stick with def, but there’s a whole world of alternative ways to define functions—some sma...
Should You Replace Every For Loop With Map and Filter?
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Think map() and filter() are always better than for loops? Not so fast. In this video, I’ll walk you through four ...
If I Were Starting Today, This Would Be My Tech Stack (2025)
💡 Save hours every week and bring your tasks, calendars, and AI assistant into one powerful app. Try AkiFlow here → https://akiflow.pro/ArjanCodes. Curious what tech stack powers ArjanCodes? In th...
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. Stic...
I’m in prison...
👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis. In this video, I’ll give you a tour of the new office/studio space and share what’s next for ArjanCodes. ...
The REAL Reason You Should Use Type Hints in Python
👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis. In this video, I’m going to show you why type hints in Python are useful, how to add them to your Python ...
The Hidden Dangers of Python Decorators
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Python decorators look like a great way to add functionality—until they break your type safety, hide function requ...
10 Tips to Keep Your Software Simple
👉 Take your productivity to the next level and keep your team organized - try monday.com for free today: https://bit.ly/424BbYW. In this video, I’ll show you 10 essential tips to keep your code si...
How to Use Git Branches Like a Pro (FastAPI Example)
👉🏻 Streamline your Git workflow - get started with GitKraken for free: https://bit.ly/4j8AlRM. Confused about Git? You’re not alone — but after this video, you’ll have a clear understanding of mer...
Coupling 101: Design Choices That Make or Break Your Code
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. You've probably heard a lot of people argue against coupling. But the problem is that you actually need it. In thi...
How To Design Robust Python Functions
➡️ Try Lokalise today: https://bit.ly/arjancodes. In this video, I’m going to show you the main principles I use to write code that’s less likely to fail, with of course plenty of Python examples....
This Is How Marie Kondo Sets up Her Pytest
✅ Learn how to build robust and scalable software architecture: https://arjan.codes/checklist. In this video, I’m going to walk you through how to set up pytest from scratch in a really simple, mi...
This Is How You Write an Efficient Python Dockerfile
👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis. In this video, I’ll take you step-by-step through creating an optimized and efficient Docker image. I’ll ...
12 Python Built-in Functions I Use Every Day
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I’ll explore 12 of the most interesting and useful built-in functions, with examples, gotchas, and ...
An Introduction to Typescript for Python Programmers
➡️ Try Lokalise today: https://bit.ly/arjancodes. TypeScript and Python are both widely used, versatile, and powerful – but actually they couldn’t be more different! In this video, I’m going to ex...
How Python Evolves: From PEP to Feature
👉 Visit https://brilliant.org/ArjanCodes/ to try Brilliant for free for 30 days. You’ll also get 20% off an annual premium subscription. In this video, I’ll explore how Python gets new functionali...