|
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 had a function work most of the time but randomly break when you least expect it? That’s a sign your code is brittle. And brittle code means debugging nightmares. The good news? You can avoid this! In this week’s video, I break down: 🔹 Why checking types at runtime is a bad idea 🔹 The best way to handle value constraints without making a mess 🔹 Whether your function should return None or raise an exception 🔹 Why failing fast is the best approach to writing reliable Python And...
Hi there, If your Docker builds are taking forever, your images are probably bloated with unnecessary dependencies. In this week’s video, I break down how to optimize your Dockerfiles step by step. 🐋 I cover better base images, BuildKit, multi-stage builds, and smarter dependency management—all to make your builds faster and leaner. Plus, I ran into a weird Docker issue I still haven’t figured out. Watch today’s video and speed up your builds! 🎥 Cheers, Arjan # News Happy Pi Day! 🐍🥧 Besides...
Hi there, Did you know Python has over 60 built-in functions, and you can use them without importing a single module? This week I explore 12 powerful built-ins that can make your code more efficient and Pythonic. Some of these are absolute game-changers, and yet, I rarely see them used! In this video, you’ll learn how to: ✅ Use filter() and map() for cleaner data processing ✅ Pair iterables like a pro with zip() ✅ Turn any function into an iterator with iter(callable, sentinel) (yes, that’s a...