My FAVORITE Error Handling Technique| Issue #16


Hi there,

What if I told you that sometimes the best way to handle errors in your code is to let them crash and burn? 💥

That’s right! Today, I’ll share my “Let it burn” approach to handling errors.

In this week’s video, you'll learn why letting your code fail fast can lead to simpler, clearer, and more robust software. I’ll show you real-life examples from my invoicing automation project where embracing errors helped me improve efficiency and save time. 💡

Stay tuned until the end for some quick tips on handling errors smartly and effectively. 🚀

Enjoy the video and happy coding!

Cheers,

Arjan

# News

Learn How AI Works With Brilliant

In the past, I’ve talked about the mechanics and the challenges of large language models (LLMs), based on my experience building Learntail. 🤖

But if you’re eager to master these concepts and dive into many other topics, Brilliant, our sponsor for today, is the ideal platform for you!

Brilliant is an interactive learning platform specializing in math, data, and computer science. Unlike traditional courses, Brilliant emphasizes hands-on learning through engaging challenges that help you build a deep understanding from the ground up.

Their bite-sized lessons are perfect for daily learning, allowing you to build new skills in just minutes each day. 🧠✨

Join over 10 million learners worldwide and start your 30-day free trial today. Plus, as an exclusive offer for ArjanCodes viewers, get 20% off a premium annual subscription through The Friday Loop newsletter. Click here to dive in and discover how far a little daily learning can take you!

Something Is Coming… 👀

My team and I have been working hard behind the scenes on something really exciting over the past few months, and we have a little surprise for you all.

I’ll share everything with you next week so keep an eye on this newsletter and on my YouTube channel! 😉

Design Patterns in Modern Software Design

Design patterns are fundamental tools in software development, but are you using them wisely? 🧩

In this week’s blog, I’ll discuss when design patterns are the right tool for the job and when they might be adding unnecessary complexity. We’ll cut through the confusion and focus on how patterns can make your code cleaner, more maintainable, scalable, and flexible—without falling into the trap of over-engineering.

If you’ve ever wondered whether you’re naturally applying patterns to solve real problems or forcing them into your code unnecessarily, this post is for you. 🧠💻

# Community

Leo, one of our community members, is seeking guidance on developing an API similar to the OpenAI Assistant API using FastAPI and AWS. He’s facing challenges with planning the cloud architecture and making component decisions. 🤔

Several community members have already shared valuable tips and best practices on cloud architecture, authentication, rate limiting, and scalability to assist Leo. If you’re new to deployment and cloud services, these insights could be incredibly beneficial for you too.

Join our Discord server to read the full thread and gain valuable knowledge. If you have experience and advice to share, your input could make a big difference for Leo and others in the community! 🚀


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

AI can write code now. But you already knew that :). If you’ve tried using AI seriously, you’ve probably noticed something: the code works (kind of) and then slowly turns into a mess. In this week’s video, I show why prompting alone isn’t enough and why software design is becoming more important, not less, in an AI-driven world. I walk through a real interaction with an AI coding assistant and show how thinking in terms of responsibilities, structure, and system boundaries completely changes...

In a recent video on refactoring complicated business logic, I managed to introduce several subtle errors. Many of you immediately spotted them in the comments. That’s exactly what my first video in 2026 is about. I walk through the mistakes I made, explain why they happened, and show how easy it is to accidentally change behavior when you refactor code. Even with tests in place and decent coverage, assumptions can sneak in, business rules can shift, and logic can quietly break without anyone...

You’ve tested the endpoint. The response looks right. No errors in the terminal. So you’re done, right? Well... not quite. In the last video of this year (time flies!) I start with a tiny FastAPI app that "works", and step by step, I turn it into something that’s actually ready for production (and that's more work than you think). That includes: Proper type usage Input validation and error handling Configuration management Rate limiting to prevent abuse ...and more! All using a real example:...