Should You Use gRPC Instead of REST? | Issue #29


Hi there,

This week, I’m diving into a topic that’s causing a bit of a stir among software architects—gRPC!

Many developers still lean heavily on REST, but gRPC is an exciting alternative, especially when speed and performance are top priorities. 🚀

In this week’s video, I’ll go through everything you need to know about gRPC and how it compares to REST. From HTTP/2 streaming and protocol buffers to its pros and caveats, this video is designed to help you decide whether gRPC has a place in your projects.

I even built a sample project to showcase how gRPC works in action, covering both internal and external service communication, and yes, even the tricky parts with HTTP/1.1 and HTTP/2

Enjoy the video and happy coding!

Cheers,

Arjan

# News

The BIGGEST ArjanCodes Sale Yet! 🔥

If you’re a developer looking to make an impact in your projects, now’s your chance! This Black Friday, I’m giving the biggest discount on ArjanCodes courses yet! For only a few days, you can get any course at 25% off. Whether you’re aiming to think like an architect, sharpen your software design skills, or take on a design challenge, there’s something here for everyone. Just use code BLACKFRIDAY2024 at checkout to claim your discount.

Here’s what’s waiting for you:

  • The Software Architect Mindset: Shift from coder to architect. This course is packed with strategies for designing systems that are scalable, maintainable, and efficient.
  • The Software Designer Mindset: Solve complex software design problems. Write code that’s easy to read, change and test.
  • 30-Day Design Challenge: Push your boundaries with a month-long series of software design exercises to build confidence and skill.
  • Next-Level Python: Ready to go beyond Python basics? Dive deep into advanced Python projects and techniques to become a Python expert.

Don’t miss out! This offer is available for only a few days, until December 2 at midnight.

Final Livestream of the Year! 🎄✨

As we wrap up 2024, join me for one last Under the Hood livestream on Tuesday at 16:00 CET! 🎅🎄 I’ll be going live, unscripted, to explore the code behind some popular open-source libraries, with plenty of holiday cheer. 🎁💻

Let’s uncover some coding gems, untangle those tricky bits, and enjoy some festive fun together!

Whether you’re here for the code or the holiday vibes, it’s the perfect way to end the year.

Grab your hot cocoa, put on your favorite Christmas sweater, and don’t miss out! See you there for the final stream of 2024! 🎉

# Community

It’s that time of year again—Advent of Code 2024 is around the corner! 🎉 This annual programming contest is a festive way to sharpen your coding skills while solving 25 fun and challenging puzzles. Each day from December 1st, a new puzzle unlocks, getting progressively more complex as we approach the big day.

On our Discord server, Dale has kicked off a thread where you can join in, discuss solutions, and cheer each other on. There’s even a leaderboard to track everyone’s progress.

Don’t worry if you can’t complete every puzzle—just start, give it a try, and enjoy the ride! Click here to check out the Advent of Code thread and hop into the fun! 🎅💻


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.

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...