this post was submitted on 17 Jan 2025
137 points (100.0% liked)

Programmer Humor

854 readers
1 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 7 comments
sorted by: hot top controversial new old
[–] Thorry84@feddit.nl 17 points 6 days ago (1 children)
load more comments (1 replies)
[–] tetris11@lemmy.ml 7 points 5 days ago* (last edited 5 days ago)

Check the global temp vars, files and caches. Encapsulated scoping is a lie we've been told to help us sleep better at night. Some of those seemingly well defined system functions bleed out to caches for (slight) performance gains.

You could have the most locked down explicitly defined well scoped code in the world, and it just takes one measly baked in call to a global function to shatter that dream house into a thousand pieces.

I'm looking at you string-match; you know what you did.

[–] erin@social.sidh.bzh 4 points 6 days ago

Bugs wants to be nice, they see how stressed we are so they love playing hide and seek to relax us XD

[–] jaschen@lemm.ee 3 points 5 days ago (1 children)

When I find bugs, I use screen capture software to repo it.

[–] bleistift2@sopuli.xyz 1 points 5 days ago

That requires you to be able to reproduce it.

[–] bleistift2@sopuli.xyz 2 points 5 days ago

What was the cause?

[–] joshcodes@programming.dev 1 points 5 days ago

Got introduced to the phrase "your tongue was in the wrong spot in your mouth", for something that can't be reproduced.