The New Python 3.13 Is FINALLY Here! | Issue #22


Hi there,

Python 3.13 is officially here, packed with some seriously exciting upgrades! 🐍

The headline feature? Disabling the GIL (yep, you read that right) is a game changer for multithreaded applications. Plus, the interactive interpreter now has full color support 🎨, making debugging and experimentation even more intuitive.

But that’s just the tip of the iceberg. In this week’s video, I’ll walk you through all the major updates, including:

  • A boost to garbage collection for faster memory management ⚡
  • Improvements to package and module handling 📦
  • Some experimental (but very promising) JIT optimizations for performance 🚀

P.S. And yes, Python 3.14 is just around the corner… should we start calling it Pi-thon? 🍰

Enjoy the video and happy coding!

Cheers,

Arjan

# News

It’s Time to Stop Using Python 3.8

With the release of Python 3.13, it’s the perfect time to consider upgrading—especially if you haven’t been keeping up with recent versions.

If you’re still using Python 3.8, you could be missing out on essential improvements in performance, security, and new features. This article dives into the key reasons to move on from 3.8, outlining the risks of staying on an outdated version and the benefits of upgrading. Read the full article here.

Goodhart's Law in Software Engineering

Ever heard of Goodhart’s Law? It’s more relevant to software engineering than you think! 🤔

Goodhart’s Law states, “When a measure becomes a target, it ceases to be a good measure.” This insightful article explores how this principle plays out in software engineering, from productivity metrics to code quality—and why focusing too much on the wrong targets can lead to unintended consequences. Curious to learn more? Read the full article here.

# Community

Last month, we welcomed 242 new members to the Discord community! I couldn’t be more thrilled to have you all here. A huge thank you to everyone for your amazing contributions to the discussions so far.

If you’re new, don’t forget to pop into the #😎introduce_yourself channel and say hi! 👋 And if you haven’t joined yet, there’s no better time. Click the link below and be part of our growing community:👉 Join ArjanCodes on Discord


Do you enjoy my content on YouTube and would you like to dive in deeper? Check out my online courses below. They've helped thousands of developers take the next step in their careers.

🚀 The Mindset Online Course Series

The goal of this series is to help junior developers grow their skills to become senior developers faster.

💥 Other Courses

💡 If you’re part of a development team at a company, I offer special packages for companies that give your team the tools to consistently write high-quality code and dramatically increase your team's productivity.

🪄 Learntail

My team and I created an AI quiz generator designed to accelerate your learning, called Learntail. You can try it for free or unlock even more capabilities and features with the monthly subscription. Take a look here.

Unsubscribe | Send by ArjanCodes

Wolvenplein 25, Utrecht, UT 3512 CK

The Friday Loop

Every Friday, you'll get a recap of the most important and exciting Python and coding news. The Friday Loop also keeps everyone posted on new ArjanCodes courses and any limited offers coming up.

Read more from The Friday Loop

Hi there, Have you ever found yourself writing functions like this? def render_article(article_id, db, logger, user, config, feature_flags, etc): …and then passing the same parameters through five different layers of your app? In my latest video, I walk through a realistic Python example and show how to fix this mess using the Context Object Pattern. I’ll start with the "before" version, refactor step by step, and explore: How to group related dependencies using a context object When this...

Hi there, This week’s video is all about uv workspaces, and why they’ve completely changed the way I manage Python projects. In the video, I walk you through a real-world example: I build a CLI tool and a FastAPI API that both fetch and summarize news headlines using OpenAI. But the real lesson is in how the project is structured. I show you how to share a local package between apps, define common dependencies like openai or httpx only once. And you can manage everything using uv’s workspace...

Hi there, When I see an if-statement with multiple elifs in my code, it almost always triggers an investigation. Is there some way to rewrite this to make the logic simpler? Is there a chance that in the future I'll need to add even more complexity? If so, I'll try to redesign the code so that I don't need that chain of if-elif statements. In this week’s video, I cover a design pattern that helped me eliminate many of those chains from a project + at the same time made the code easier to...