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.
Share
My FAVORITE Error Handling Technique| Issue #16
Published 2 months ago • 3 min read
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.
The Software Architect Mindset - Learn the mindset that will allow you to effortlessly build and maintain scalable software systems. Become a software architect.
The 30-Day Design Challenge - Get the practice you're missing. Learn to deal with a wide variety of software design problems.
💡 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.
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.
Hi there, Ever struggled with code duplication? It can creep into your projects in ways you’d never expect. 🚨 In this week’s video, I’ll show you some tricky examples of duplicated code that might not be obvious at first glance. 👀 I also explain why simply following the DRY principle can sometimes make things worse. I’ll walk you through a refactor of one such case and even show you an example where not removing duplication is the better choice! Watch until the end of the video for some BONUS...
Hi there, Want to write cleaner and more efficient Python code? I’ve got you covered! In this week’s video, I walk you through 15 Python libraries that will seriously boost your productivity. From cutting project setup time in half with Cookiecutter 🍪 to converting text numbers to digits with Numerizer, these tools are all about making your life easier. You’ll learn how to automate tasks like file monitoring using Watchdog and build modern dashboards with Nicegui! Watch the full video to find...
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...