r/ProgrammerHumor • • Sep 22 '26

Meme wellWellWell

Post image
10k Upvotes

412 comments sorted by

View all comments

Show parent comment

89

u/phrotozoa Sep 22 '26

I did this in prod once. My skin crawled reading this post.

48

u/fakehalo Sep 22 '26

I was traumatized by a query I did almost 20 years ago, ever since I put "LIMIT 2" on queries where i'm just manually deleting one thing... if I see 2 rows modified I know I messed up. I even do it with transactions because of the trauma.

10

u/arensb Sep 22 '26

At $PREVIOUS_JOB, we had a nightly job that deleted old users. It saved everything to temporary files, and halted if the number of users had shrunk by 10% or more.

8

u/JoshDM Sep 22 '26

rm -rf *;