How Python Evolves: The Fascinating Journey of PEPs | Issue #41


Hi there,

You use Python every day, but have you ever wondered how new features make it into the language?

It all starts with a PEP—a Python Enhancement Proposal. Some PEPs go unnoticed, but others, like PEP 484, changed the language forever. It introduced type hints, and let’s just say… not everyone was happy about it.

In this week’s video, I take a deep dive into:

✅ The PEP process—who decides Python’s future?

✅ Why type hints caused such a stir in the community

✅ The fascinating discussions and debates behind Python’s evolution

If you want to understand how Python really works, you don’t want to miss this one!

Cheers,

Arjan

# News

The ArjanCodes Business Portal

This month something big happened, we launched the ArjanCodes Business Portal! A platform designed to make it easier than ever for businesses to manage and purchase our online courses for their teams. 🎉

✨ With the portal, your company will enjoy:

  • Ordering multiple courses in bulk at a discount
  • Seamlessly assigning course seats (no emails required!)
  • Easy invoicing with customizable details
  • Flexible payment options (credit cards, bank transfers & more)
  • REST API for integrating seat assignments into your systems
video preview

Launch Promotion Alert!

To celebrate the launch, we’re offering a 20% discount on all course purchases through the portal until March 10, 2025. ⏰ (Minimum two seats required.)

Don’t miss out, register your business today and start exploring all the benefits!

PyO3 and Rust in Action

Ever wondered how to speed up your Python code without completely ditching Python? The team at Blueshoe wrote a fantastic deep dive into PyO3, a tool that lets you seamlessly integrate Rust with Python. 🚀

If you’re looking to push Python beyond its limits, this is a must-read! Check it out here: Python + Rust with PyO3.

# Community

How much testing is too much testing? That’s what sparked a fascinating discussion on our Discord server when Dale shared The Perfect Dependency – SQLite Case Study. The video dives into SQLite’s extreme engineering, where millions of test cases and 100% branch coverage allow developers to make radical changes safely.

But is SQLite underappreciated? Some argued it’s perfect for most web applications, while others insisted PostgreSQL is the better choice for scaling. And then came the real debate:

💡 “If you’ve chosen the right data structures, the algorithms will be self-evident.” – Rob Pike

Does data organization matter more than code? Join ArjanCodes on Discord and let’s talk! 👉 Jump into the discussion


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.

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