No Compromises artwork

No Compromises · Joel Clermont and Aaron Saray

Your codebase is not a museum for old code

Have you ever opened a file to make a quick change, only to find dozens of lines of commented-out code making it nearly impossible to understand what's actually running? In the latest episode of the No Compromises podcast, we discuss why keeping dead code around is slowing your whole team down. We make the case that commented-out or unused code creates real confusion when searching a codebase, whether you are a new developer, a consultant, or even an AI agent trying to understand what is actually in use. We also cover why Git is all the safety net you need, how Git bisect can recover deleted code you thought you might need someday, and why the fear of deleting code is almost always unfounded. (00:00) - Why commented-out code slows everyone down (02:03) - How dead code creates false search results (05:10) - Dead code costs you more with AI agents too (05:55) - How Git bisect helps you recover deleted code (10:08) - When commenting out code is actually fine (11:45) - Silly bit Join the conversation and share how your team handles dead code in our No Compromises community

May 232026
13 minlength
142transcript lines
Publishertranscript source

Transcript first 15 of 142 lines

0:00JoelWelcome to No Compromises. A peek into the mind of two old web devs who have seen some things. This is Joel.

0:08AaronAnd this is Aaron.

0:16Joel, why won't you just delete your code? Just delete it. Just delete your code, Joel.

0:26Just highlight it, delete it, commit. I don't want to even see it anymore, Joel. Get it out of here.

0:34JoelI am being targeted here unfairly, but I know where you're coming from. And, Aaron is diplomatically yelling at me because we're friends,

0:48and I will take it. But the reality is, this is a thing that we bump into a lot, and we will protect the names of any innocent.

0:56You know, if you've worked with us and you're listening to this and you think we're talking about you, we might be.

1:01But we're probably also talking about everybody else we've worked with, so don't take it personally.

1:05But anyways, to the topic at hand. Your exasperation at not deleted. Okay, so let me set this up.

1:16So, you're, "Hey, Aaron, I need you to work on this controller. We want to update something." And, "Can you go refactor this?"

1:22And then you open it up, and there's 75 lines of commented-out code.

1:27AaronWell, you know that's just the smell. That's great, that's obvious. I'm going to talk to you about something that is the real reason why this drives me nuts.

1:35JoelOkay, let's dig into it.

1:37AaronLet's talk about the difference between you're in a project forever, versus you're hiring on a new developer, versus you're hiring on consultants. Right?

1:46JoelYes.

More No Compromises episodes →