A Question of Code
A Question of Code
Ed & Tom Hazledine
Mar 16, 2020 · 25 min

54: Why do people write "bad" code?

MP3

It's a sad fact of the world that bad code exists. But is this just developers doing their best impression of builders? "Who put this in, mate? It's all got to be ripped out and replaced". Is all old code bad code? Are there reasons that bad code gets written? Are the justifiable excuses and mitigating factors?


If you're just starting out in your coding career you might think that only bad developers write bad code, but the truth is more nuanced than that. As you gain experience you are certain to encounter bad code written for good reasons. So what are the common reasons that bad code gets written? And how can you take steps to avoid it as much as possible in your career? Find out all this and more in this week's incredible instalment of A Question of Code.

Mentioned in this episode:

This podcast uses Transistor.fm for stats. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.