728
all 20 comments
sorted by: hot top controversial new old
[-] dan1101@lemm.ee 36 points 1 year ago

I'm the last person I would have suspected, but I was looking for me all the time!

[-] elvith@feddit.de 19 points 1 year ago

When you use git blame just to realize, that you're the only contributor to the repository...

[-] nickhammes@lemmy.world 8 points 1 year ago

And it was.. me. It's always me.

[-] saltnotsugar@lemm.ee 26 points 1 year ago

I’d watch a noir detective film about a programmer going over some wackadoodle code.

[-] Aurenkin@sh.itjust.works 22 points 1 year ago

Index Out of Bounds: A classic off-by-one mystery

[-] XTornado@lemmy.ml 5 points 1 year ago

It could work if it was some important code that caused some castrophic event... and the end he sees he actually changed those lines....that ended up causing the thing to fail.

[-] masterspace@lemmy.ca 18 points 1 year ago* (last edited 1 year ago)

In my experience coming up through Windows desktop development, more than half the time the murderer was a closed source, compiled, dependency, that only behaved oddly in extremely specific circumstances.

[-] yesdogishere@kbin.social -4 points 1 year ago* (last edited 1 year ago)

the worst part for me, was not only being unable to estimate the time to solve the bug, i found that often the problem was in syntax or shadings of understanding on how functions or bracket syntax worked. i could refer to all the biggest programming books off the shelves, and the answers they provided would not work. Programming is one of those professions where answers lay with people who had busted their brains or lucked it trying to make it work, and had collected over many years, snippets of code which they knew worked. If you weren't chummy with these people, you would never find the answer. This isn't really a worthwhile profession. Unlike physics, or maths, where there is an independent answer governed by forces outside of an individual human, programming is a profession which inherently depends on learning errors from another human. It's a pointless profession and gets you nowhere in life at the end. Sadly. (Unlike say law, or accounting or physics, where at old age, you know more about the world around you.)

[-] ChaoticNeutralCzech@feddit.de 16 points 1 year ago* (last edited 1 year ago)


git blame says the culprit was me but how did that happen?

[-] ipkpjersi@lemmy.ml 2 points 1 year ago
[-] ChaoticNeutralCzech@feddit.de 2 points 1 year ago

Yup, this image with a git blame reference is available too but I preferred the Scooby Doo one.

[-] jetsetdorito@lemm.ee 11 points 1 year ago

I spent like 2 hours on a really time sensitive bug today, I even resorted to asking chat gpt, the solution was... doing what I did in the first 5 minutes a second time... 😭

[-] hiyayakk0@lemmy.ml 9 points 1 year ago

To get the nuance right, it's like if you lived your very normal average every day life, day after day, never intentionally hurting anyone or anything. Then found out you murdered someone weeks/months/years after the fact and were asked how you did it.

[-] yesdogishere@kbin.social 9 points 1 year ago

the worst part about debugging for me, is i have no idea how long it will be before i can solve a single bug. it could take me 2 hours, 1 day, a week, no idea. Because i have no idea where the bug came from. I have ti go through increasingly more detailed testing cycles. Then devise more laborious testing cycles. This is why i chose not to work as a programmer. In other professions, I know i can give an estimate of the time taken to complete the task. Debugging? No real idea. What if the boss says finish it by tomorrow? I might be there all night.

[-] Venat0r@lemmy.world 8 points 1 year ago

What if the boss says finish it by tomorrow? I might be there all night.

Looking for a new job I hope...

[-] TDCN@feddit.dk 4 points 1 year ago

It's more like this: it feels like you are both the detective, the victim and the murdere

[-] Scottmc@lemmy.world 3 points 1 year ago

Don’t you dare Sixth Sense me.

[-] Centillionaire@kbin.social 2 points 1 year ago

Patrick Star

[-] hai@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

My sister thinks this is a mental illness.

this post was submitted on 05 Oct 2023
728 points (98.7% liked)

Programmer Humor

32162 readers
795 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS