podcast March 5, 2021

Podcast 318: What’s the half-life of your code?

Think of your code quality as if it will run forever, but adapt to change as if your code will be obsolete tomorrow.
Avatar for Ben Popper
Director of Content

This week we chat about the half-life of the software you create. Why does some get refactored after six weeks while another program goes untouched for years? How do you know when it’s time to say goodbye to your codebase and try a new architecture?

Episode Notes

This week’s discussion was inspired by an article from Sandi Metz, which you can find here. It begins with a terrific line, defining the half-life of software as, “the amount of time required for half of an application’s code to change so much that it becomes unrecognizable.”

This topic also connected to a post we ran on the Stack Overflow blog this week,  Sacrificial Architecture: learning from abandoned systems. The author, Mohamad Aladdin, suggest that one should “think of your code quality as if it will run forever, but adapt to change as if your code will be obsolete tomorrow.”

Our lifeboat badge winner for this episode is Ishmael, who explained why JSON dumps your formatting and how to fix it.

TRANSCRIPT

Tags:

Related

The Overflow Newsletter Banner
newsletter May 21, 2021

The Overflow #74: Behind the scenes at SpaceX

Welcome to ISSUE #74 of the Overflow! This newsletter is by developers, for developers, written and curated by the Stack Overflow team and Cassidy Williams at Netlify. This week: So long to a podcast co-host, it’s a good year to go to Mars, and neural networks doing the important work of making video games more realistic. From the…