All Episodes

April 8, 2025 49 mins

Mercedes Bernard, Staff Software Engineer at Kit, joins Robby to talk about what it really means to write code that lasts—and who it should be written for.

In this episode of Maintainable, Mercedes shares a thoughtful and practical perspective on working with legacy codebases, managing technical debt, and creating a team culture that values maintainability without fear or shame. Her guiding principle? Well-maintained software is friendly software—code that is understandable and approachable, especially for early-career developers.

Together, they discuss how to audit and stabilize older systems, avoid full rewrites, and create consistent developer experiences in large applications. Mercedes reflects on her decade in consulting and how that shaped her approach to navigating incomplete documentation, missing historical context, and multiple competing patterns in a codebase. She breaks down different types of technical debt, explains why not all of it is inherently bad, and offers strategies for advocating for maintenance work across engineering and product teams.

The conversation also touches on architecture patterns like job fan-out, measuring performance regressions, reducing infrastructure load, and building momentum for improvements even when leadership isn’t actively prioritizing them.

If you’ve ever felt overwhelmed by a messy project or struggled to justify maintenance work, this episode will leave you with a fresh mindset—and a few practical tactics—for making code more sustainable and inclusive.

Episode Highlights

[00:01:08] Defining Well-Maintained Software
Mercedes explains her top metric: software that feels friendly, especially to early-career developers navigating the codebase for the first time.

[00:03:00] What Friendly Code Actually Looks Like
She shares why consistency, discoverability, and light documentation (like class comments or UML snippets) can make a huge difference.

[00:05:00] Assessing Code Like a House Tour
Mercedes introduces her metaphor of giving a house tour to evaluate code: does everything feel like it’s in the right place—or is the stove in the cabinet?

[00:06:53] Consulting Mindset: Being a Guest in the Codebase
With a decade of consulting experience, Mercedes shares how she navigates legacy systems when historical context is long gone.

[00:10:40] Stabilizing a Startup’s Tangled Architecture
She walks through an in-depth case study where she helped a client with multiple abandoned services get back to stability—without a rewrite.

[00:17:00] The Power of a One-Line Fix
Mercedes shares how a missing check caused a job to fan out 30 million no-op background jobs a day—and how one line of code reduced that by 75%.

[00:23:40] Why State Checks Belong Everywhere
She explains how defense-in-depth patterns help avoid job queue flooding and protect system resources early in the fan-out process.

[00:24:59] Reframing Technical Debt
Not all debt is bad. Mercedes outlines three types—intentional, evolutionary, and time-based—and how to approach each one differently.

[00:28:00] Why Teams Fall Behind Without Realizing It
Mercedes and Robby talk about communication gaps between engineers and product stakeholders—and why it’s not always clear when tech debt starts piling up.

[00:34:00] Quantifying Developer Friction
Mercedes recommends expressing technical debt in terms of lost time, slow features, and increased cost rather than vague frustrations.

[00:42:00] Getting Momentum Without Permission
Her advice to individual contributors: start small. Break down your frustrations into bite-sized

Mark as Played

Advertise With Us

Popular Podcasts

Crime Junkie

Crime Junkie

Does hearing about a true crime case always leave you scouring the internet for the truth behind the story? Dive into your next mystery with Crime Junkie. Every Monday, join your host Ashley Flowers as she unravels all the details of infamous and underreported true crime cases with her best friend Brit Prawat. From cold cases to missing persons and heroes in our community who seek justice, Crime Junkie is your destination for theories and stories you won’t hear anywhere else. Whether you're a seasoned true crime enthusiast or new to the genre, you'll find yourself on the edge of your seat awaiting a new episode every Monday. If you can never get enough true crime... Congratulations, you’ve found your people. Follow to join a community of Crime Junkies! Crime Junkie is presented by audiochuck Media Company.

24/7 News: The Latest

24/7 News: The Latest

The latest news in 4 minutes updated every hour, every day.

Stuff You Should Know

Stuff You Should Know

If you've ever wanted to know about champagne, satanism, the Stonewall Uprising, chaos theory, LSD, El Nino, true crime and Rosa Parks, then look no further. Josh and Chuck have you covered.

Music, radio and podcasts, all free. Listen online or download the iHeart App.

Connect

© 2025 iHeartMedia, Inc.