this post was submitted on 11 Sep 2025
855 points (99.7% liked)

Programmer Humor

26372 readers
1069 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
[–] spongebue@lemmy.world 11 points 4 days ago* (last edited 4 days ago)

If it counts, I encountered a Java file that, unbeknownst to me at the time, was duplicated across two different places. The project was essentially abandoned for years, and the file was one that didn't change much so I left it alone for a year or so.

Eventually I had to add a method to it. Compiled just fine, runtime threw a no such method error. Turned out Eclipse was using one, but when Maven did its build it used the old duplicate I didn't know existed.

Took me a while to find that one!