13 Reasons Why Python Is Really WEIRD | Issue #18


Hi there,

Ever wondered why Python sometimes behaves in unexpected ways?

In this week’s video, I’ll be showing you 13 strange things in Python that might just blow your mind! 🤯 Especially the last one—it’s really confusing!

From the mysteries of integer caching to the quirks of mutable default arguments, this video is packed with examples that will make you question everything you know about Python. 🐍

P.S. Stay tuned until the end of the video for an awesome Easter egg in Python you might not know about! 🎁

Enjoy the video and happy coding!

Cheers,

Arjan

# News

We've Added More Subtitles

Great news! Due to popular demand, all my courses now have English, French, German, Italian, Portuguese, and Spanish subtitles. And this is just the beginning – my team and I are working on adding even more languages in the future. If you’re interested in checking them out, click here and choose a course! 💃🏻🎉

Episode 3 of Under the Hood is live!

In this week’s livestream, we dove deep into the code and design of another popular open-source project.

As usual, you got to see my unfiltered, real-time reactions—no edits, no sugarcoating. Plus, I tackled some of your burning questions along the way. 🔥

Curious about which open-source library we explored this time? Want to sharpen your skills and see how quality software is really built? Check out the livestream now! 👨🏻‍💻

# Community

Are you passionate about programming, especially with Go? Do you want to dive deep into topics like threading models (1:1, N:1, M), the Go runtime scheduler, system calls and their impact on concurrency, lock-free algorithms, and CPU cache coherency protocols? 🖥️

Our Discord members are having a fantastic discussion about these advanced concepts, exploring how the Go runtime manages concurrency, the challenges of system calls, and much more!

Don’t miss out on this chance to connect with like-minded enthusiasts. Click here to join the conversation now! 🚀


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

If you’ve ever opened a function and instantly regretted it… this week’s video is for you. I’m talking about those legendary functions: ten levels of indentation, contradictory conditions, duplicate branches, mysterious try/except blocks, and business logic so unclear that nobody knows what it actually does anymore. I start with a really messy example and walk through the exact process I use to refactor it safely. You’ll see how to create characterization tests so you don’t break existing...

Have you ever written a Python script that felt slow, even though the logic was simple? Sometimes it’s not the efficiency of your code that's the problem, it’s when your code does its work. This week’s video is all about the Lazy Loading design pattern, and I think many developers underestimate how powerful (and practical) it is. I start with a real example: loading a huge CSV file that freezes your program for 10 seconds before doing anything useful. Then, step by step, we improve it using:...

If your code is hard to test, hard to reuse, and hard to change, you’re probably hardcoding your dependencies. It’s one of the most common architectural problems I see in Python code, even in production systems. In this week's video, I take a small but realistic example, a data pipeline that loads, transforms, and exports some records, and show you how Dependency Injection can turn it from a rigid mess into something clean, testable, and modular. No frameworks required. You’ll learn: Why...