this post was submitted on 10 Aug 2025
508 points (99.2% liked)

Programmer Humor

25699 readers
1229 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ChickenLadyLovesLife@lemmy.world 36 points 4 days ago* (last edited 4 days ago) (3 children)

I remember my first day of my first professional programming job back in 1996. I had just learned SQL that morning (which I'd never even heard of before) and that afternoon I forgot to add a WHERE clause to a DELETE command. Good times ...

Fortunately this was in production and not in any important environment like development or test.

[–] cass80@programming.dev 11 points 3 days ago (1 children)

If they gave a newbie full r/w creds to a prod db, that's 100% on them and not you.

[–] ChickenLadyLovesLife@lemmy.world 9 points 3 days ago (1 children)

Lol "credentials". This was done directly on the server, which was kept always logged in with the admin account so anybody in the server room could access it. It was OK though, this was just a small company ... just Reliance Electric, now part of Rockwell Automation.

And you thought "security through obscurity" was bad - this was "security through apathy".

[–] squaresinger@lemmy.world 7 points 3 days ago

That was the 90s. It's so long ago, we've come so far, so luckily there is no way any respectable company in 2025 does anything like that anymore.

Meanwhile: There's me joining a ~400k employee corporation half a year ago to find out that they don't have a dev env and testing is done on production, we just have to not push the "publish" button to keep our tests in preview mode instead of going live in our customer-facing ecom solution. 😬

[–] dbx12@programming.dev 4 points 3 days ago (1 children)

That's why I start my dangerous queries with a broken first word like ELETE FROM table... and do a proofread before adding the D. Saves you from annoying mistakes either by stupidity or fat fingering the enter key.

do a proofread before adding the D

Always think twice before bringing the D.