this post was submitted on 02 Jan 2026
513 points (97.8% liked)

Programmer Humor

28287 readers
1327 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] kibiz0r@midwest.social 31 points 5 days ago (3 children)

It’s weird that “legacy code” is a pejorative.

If your code has lasted long enough to be considered “old”, but is still so useful that it can’t just be deleted without a dedicated replacement effort… it’s doing something right.

[–] smeg@feddit.uk 10 points 5 days ago

it’s doing something right

That's where the problem lies, we know it's doing something right but we don't understand what or how it works, we're too reliant on it to change it, and the workarounds we have to make to accommodate it are a pain in the arse.

[–] regdog@lemmy.world 6 points 5 days ago (2 children)

Instead of "legacy code" they should call it "veteran code", because it has seen some shit.

[–] silasmariner@programming.dev 5 points 5 days ago

Brb updating my personal lexicon

[–] AnarchistArtificer@slrpnk.net 2 points 4 days ago

That is a much better name for it, especially because some of the ways in which veteran code gets creaky does feel analogous to age

[–] spongebue@lemmy.world 7 points 5 days ago

I work with a different kind of legacy system. It was retrofitted to work with SOAP, OOP, and some other modern stuff, but none of the old farts bothered to learn it. When I inherited a SOAP service that system used, I had to learn a lot about it to get what I needed.

And honestly? It's been a lot of fun. It's a unique kind of challenge, I've practically gained celebrity status at work, and even if it's nothing I'll be doing long-term it shows how I can pick up weird systems and work with others to make some miracles happen.