this post was submitted on 17 Jul 2023
469 points (97.2% liked)

Programmer Humor

32077 readers
475 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

When your code works, but you don't know how
@programmerhumor

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 1 year ago

I solved one of these once upon a time.

There was a function that wasn't called from anywhere in the project which if deleted caused the whole system to fail in test and (presumably) production at runtime. It turned out to be scripts for a cron job that were only on the servers. I moved them in to the project and thus version control. Mystery solved.