I'm in prison | Issue #52


Hi there,

I’m emailing you from prison. 🚨

No, not like that.

The new ArjanCodes office is inside a 19th-century prison in Utrecht. And it’s actually… amazing. The cells are now offices, the vibe is creative, and it’s got just the right kind of gloominess for video production (because direct sunlight and camera lenses don’t mix).

In this week’s video, I take you on a little tour of the space and talk about what’s ahead for the channel. After a year of scaling down, I’m finding more balance—and bringing back more of the real coding content you’ve been asking for.

🛠️ Think design patterns, Python concepts, and refactoring code that’s on life support.

Happy coding and enjoy the tour!

Cheers,

Arjan

# News

⚡️Hot Module Replacement in Python? Yes, Please.

Restarting your Python app after every little change? 😩 Been there.

Evan Doyle from Gauge has written a super practical guide on implementing Hot Module Replacement (HMR) for Python projects. Think instant reloads, preserved state, and a massive boost to your development speed.

Instead of restarting your entire app, this method only reloads the modules that actually changed. It’s a clean, dependency-aware approach—and it works really well.

Perfect for bigger projects, or if you just value your time. 🚀 Read the article here.

🐍 Python, But Make It Elliptical

Can you write Python code that’s clever, minimalist, and still surprisingly functional? Absolutely.

In Elliptical Python Programming, Susam Pal takes a playful detour through Python’s more obscure corners—highlighting how even the most roundabout expressions can lead to beautifully unexpected results.

It’s a fun, thoughtful read that blends technical insight with a touch of code artistry. If you enjoy bending the rules (without breaking them), you’ll love this. 👉 Check out the full article here.

# Community

Recently in our #📚resources channel, JamesParrott shared an interesting video on how to securely store secrets for cloud software—no more .env files in your Docker images!

🔐 The video covers a clever method for handling secrets and even answers a long-standing dev dilemma: “How do I generate MFA codes if my phone breaks?”

Head to the thread in our Discord and check it out—lots of great insights and a helpful video recommendation await.


Do you enjoy my content on YouTube and would you like to dive in deeper?

🚀 Check out my online courses

My courses have helped thousands of developers take the next step in their careers. Check out these courses to help grow your skills and become a senior developer:

🔧 Need help with a complex codebase?

If your team is struggling with tech debt, unclear architecture, or cloud costs that keep creeping up, my team and I can help. We don’t just review, we get in and fix things. We’re only working with a few companies at a time to stay focused, so if it sounds like a fit:

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

Hey there, Heard of MCP? It stands for Model Context Protocol: an open standard that lets AI models like Claude or ChatGPT connect to real tools and data. In my latest video, I explain what MCP actually is, and show a working example where Claude can search YouTube videos using MCP. In the video you’ll learn: Why AI models can’t just call your API How MCP bridges that gap Two ways to structure your MCP integration Happy coding! Cheers, Arjan # News Upcoming Python Documentary CultRepo...

Hi there, We all use def to define functions in Python. But did you know there are at least 7 other ways to do it? Some of them are useful. Some are questionable. And the last one is so ridiculous, it might crash your interpreter. In this week’s video, I walk through each method, explain how it works, why you should use it (or not), and what it teaches us about how Python works under the hood. This was a really interesting topic to explore. I learned a lot from it and I hope you will too....

Hi there, Functional programming in Python can be elegant… but not always. ⚠️ In this week’s video, I walk through four common scenarios where replacing for loops with map() and filter() actually leads to worse code. Not just less readable—but also harder to debug, more error-prone, and sometimes even misleading. We’ll dive into: Exception handling that becomes a mess inside a lambda Side effects (like writing to files) that violate functional principles Nested logic that turns into...