740
you are viewing a single comment's thread
view the rest of the comments
[-] spongebue@lemmy.world 9 points 8 months 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 through 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!

this post was submitted on 11 Sep 2025
740 points (99.6% liked)

Programmer Humor

31683 readers
1345 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 3 years ago
MODERATORS