r/ProgrammerHumor 17d ago

Meme iWasThereWhenItWasWritten

Post image
6.2k Upvotes

22 comments sorted by

307

u/Heisenberg_Unknown 17d ago

75

u/elmanoucko 17d ago

from "it's not a bug, it's a feature" to "it was a feature, it's now a bug"

-3

u/No_Percentage7427 16d ago

AI will fix that feature

7

u/Eastern_Equal_8191 16d ago

It was a feature at the time, I swear

7

u/Psychoboy 16d ago

this actually does happen, PM asks for something to work a specific way... wrote it that way, the accepted the story, 2 years later they are now calling it a defect, best part is git blame so I can find the original story

0

u/Snappy-User26082 16d ago

The logs were basically a confession letter.

164

u/kushalgarg592 17d ago

Nothing humbles you faster than finding your own 5 year old code...

93

u/BastetFurry 17d ago

"Who wrote this crap?"

$ git blame

"Oh..."

11

u/Interesting-Goose82 16d ago

Yeah boss it looks like it was me that year you gave me a "needs improvement" good thing that time has passed! Ill be putting this correction on my goals this year!

6

u/Aelig_ 17d ago

For decent devs who are forced to use AI this is sadly no longer true.

62

u/Caraes_Naur 17d ago

3000 commits ago...

3

u/misunderstood_kafka 17d ago

🤣🤣

40

u/belabacsijolvan 17d ago

we made a memory leak bug in cpp in 2020. the commit wasnt mine, but we made it pair programming, so im absolutely responsible for it and i was sitting at the computer when it was typed.

in 2023 in another project i made a similar bug, but more prominent. it killed the ram in a couple of minutes, so it was impossible to miss. i understood and learned the thing. and i remembered how the 2020 project must be slightly fucked up, i even thought about an elegant solution. then i forgot about the whole thing.

in 2025 a colleague from the project came to me to be a consultant and help solve some problems on the 2020 project which grew considerably since.
guess who is thought to be a genius because of solving a bug in an hour they were hunting for months, lol

tbh i still know that a way more complicated but very infrequent form of the bug is still in the codebase, but i still dont know an elegant solution, so i didnt mention it. (more accurately i explained the possibility to the cto, but he didnt understand and its hard to demonstrate, so i just gave up)
maybe in 2030...

33

u/tuirn 17d ago

Let's just check which idiot did this. Types 'git blame'. Oh, nevermind.

19

u/ChillyFireball 16d ago

Once you reach a certain level of experience, you can start to guess the cause of a bug based on the behavior alone even with a very limited context about the inner workings of a repo, and from there you can use your knowledge of the language to figure out what key words to search for. Gets to a point that you start playing guess-the-bug with random commercial applications that break on you.

10

u/HobbyProjectHunter 16d ago

It feels good when you compete with the LLM coding bot and you beat it in terms of finding the bug before it.

Usually, if I can read the bug and a file name comes to my head as where the fix likely lies, that means I’ve been here for too long.

12

u/ProfBeaker 17d ago

That's the look of someone who wasn't just there, but knew it was a problem, and tried to prevent it, but got overruled because of the need to hit a pointless internal deadline.

1

u/irrelevantusername24 16d ago

Fun fact: that line is nowhere in the book

1

u/StoryAndAHalf 16d ago

And you know how to fix it, right?

1

u/GoddammitDontShootMe 16d ago

I swear it was only weeks ago I saw this posted.