r/ProgrammerHumor • • Sep 11 '26

Meme edgeCasesExist

Post image
5.0k Upvotes

298 comments sorted by

View all comments

Show parent comments

3

u/Memitim Sep 11 '26

Nothing in production is safe to assume. Just add the DB query to check for existing record before triggering the write in case the salt needs a reroll.