ArjanCodes - Videos

Back to Channel

Retry 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...

15,742 views • 761 likes • 61 comments • December 19, 2025

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...

65,986 views • 3,051 likes • 290 comments • December 12, 2025

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 ...

34,858 views • 1,254 likes • 77 comments • December 05, 2025

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...

95,486 views • 3,422 likes • 207 comments • November 28, 2025

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...

27,480 views • 976 likes • 70 comments • November 21, 2025

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...

35,871 views • 1,524 likes • 93 comments • November 14, 2025

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...

102,447 views • 4,584 likes • 337 comments • November 07, 2025

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...

101,229 views • 3,515 likes • 199 comments • October 31, 2025

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...

36,560 views • 1,543 likes • 101 comments • October 24, 2025

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...

291,876 views • 9,265 likes • 587 comments • October 17, 2025

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...

56,692 views • 2,439 likes • 122 comments • October 10, 2025

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...

77,546 views • 3,486 likes • 162 comments • October 03, 2025

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...

57,023 views • 1,867 likes • 162 comments • September 26, 2025

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...

38,978 views • 1,426 likes • 107 comments • September 19, 2025

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 ...

22,453 views • 726 likes • 40 comments • September 12, 2025

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 ...

84,289 views • 4,284 likes • 174 comments • September 05, 2025

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 *...

104,412 views • 4,386 likes • 193 comments • August 29, 2025

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...

26,497 views • 1,610 likes • 103 comments • August 22, 2025

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 ...

34,373 views • 1,178 likes • 59 comments • August 15, 2025

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...

43,152 views • 2,020 likes • 154 comments • August 08, 2025

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 ...

62,337 views • 2,673 likes • 136 comments • August 01, 2025

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...

52,030 views • 2,253 likes • 108 comments • July 25, 2025

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...

16,526 views • 399 likes • 32 comments • July 18, 2025

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...

17,298 views • 644 likes • 84 comments • July 11, 2025

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, ...

36,634 views • 1,415 likes • 75 comments • July 04, 2025

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...

101,625 views • 2,362 likes • 152 comments • June 27, 2025

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, ...

10,740 views • 286 likes • 30 comments • June 20, 2025

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...

35,310 views • 1,993 likes • 65 comments • June 13, 2025

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...

32,294 views • 1,382 likes • 77 comments • June 06, 2025

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 ...

92,851 views • 2,250 likes • 223 comments • May 30, 2025

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...

22,841 views • 672 likes • 38 comments • May 23, 2025

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...

60,148 views • 2,573 likes • 171 comments • May 16, 2025

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. ...

15,593 views • 836 likes • 112 comments • May 09, 2025

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 ...

31,883 views • 1,694 likes • 116 comments • May 02, 2025

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...

21,572 views • 1,026 likes • 87 comments • April 25, 2025

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...

44,641 views • 1,326 likes • 92 comments • April 18, 2025

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...

45,629 views • 1,517 likes • 115 comments • April 11, 2025

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...

37,065 views • 1,466 likes • 76 comments • April 04, 2025

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....

57,038 views • 1,451 likes • 174 comments • March 28, 2025

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...

27,056 views • 1,189 likes • 73 comments • March 21, 2025

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 ...

55,509 views • 2,093 likes • 170 comments • March 14, 2025

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 ...

77,932 views • 2,658 likes • 97 comments • March 07, 2025

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...

39,435 views • 836 likes • 82 comments • February 28, 2025

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...

18,571 views • 714 likes • 54 comments • February 21, 2025