this post was submitted on 17 Jan 2025
235 points (98.4% liked)

Programmer Humor

32930 readers
180 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 3 days ago* (last edited 3 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.