this post was submitted on 14 Aug 2025
151 points (98.7% liked)

Programmer Humor

25705 readers
1328 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
 

Its definitely a bad idea writing new code that builds up on your old code, that has not been tested properly, because you quickly have to start debugging multiple layer is code at once.

you are viewing a single comment's thread
view the rest of the comments
[–] bleistift2@sopuli.xyz 9 points 22 hours ago (1 children)

Opposing opinion: If it’s legacy code, and no-one has found a bug yet, it works as intended.

No, I don’t mean that ironically.

[–] who@feddit.org 7 points 22 hours ago* (last edited 22 hours ago) (1 children)

It's refreshing to see someone on social media who doesn't dismiss code as "outdated" just because of its age.

[–] Lemminary@lemmy.world 2 points 15 hours ago (1 children)

There are dozens of us! But also, I have a masochistic tendency to update my old code to use the new language features and make it somewhat readable.

[–] yetAnotherUser@lemmy.ca 2 points 2 hours ago (1 children)

Shouldn't you write tests for your code before using the new language features though?