
Your codebase is not a museum for old code
From No Compromises by Joel Clermont and Aaron Saray
May 23, 2026 · 14 min · Episode 153
About this episode
The episode discusses the negative impact of keeping dead code in a codebase and how it affects team productivity.
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
People in this episode
Hosts: Joel Clermont, Aaron Saray
Topics covered
- codebase management
- dead code
- Git usage
- developer productivity
- AI in coding
Keywords
- commented-out code
- dead code
- Git bisect
- developer confusion
- AI agents
Mentioned in this episode
Organizations: No Compromises, Git, AI
More episodes of No Compromises
- How much logic is too much logic in a PHP enum · June 6, 2026 · 13 min
- Do you actually own the code you ship? · May 9, 2026 · 15 min
- Do you actually need a multi-tenancy package? · April 25, 2026 · 14 min
- Local and production should match even for Laravel tools · April 11, 2026 · 13 min
- When weird code needs to explain itself · March 28, 2026 · 11 min
- Are you testing your app or just the framework? · March 14, 2026 · 13 min
Explore listener stats, chart rankings, contacts and more on the No Compromises podcast page.