471
rm -rf /usr due to typo
(thelemmy.club)
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.
This entire thread is giving me flashbacks to my junior dev days and forgetting a where clause when updating/deleting database records
ah! yes ... little bobby tables we call him.
https://xkcd.com/327/
For the new folks.
There are ten thousand of them after all
We've all done that at some point.
That sinking feeling when your quick update doesn't return immediately.
Good to get into the habit of wrapping your queries in a begin transaction/rollback until you verify the result ๐
I was never able to fully form the habit with transactions. The guardrails I use are writing the where clause first and keeping my query tool in read-only mode for prod connections and only disabling it once I'm sure I need to make a change.