this post was submitted on 02 Jan 2026
548 points (97.9% liked)

Programmer Humor

28365 readers
834 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 1 week 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 1 week 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.

[–] spongebue@lemmy.world 7 points 1 week 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.

[–] regdog@lemmy.world 6 points 1 week ago (2 children)

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

[–] silasmariner@programming.dev 5 points 1 week ago

Brb updating my personal lexicon

[–] AnarchistArtificer@slrpnk.net 2 points 1 week 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