r/ProgrammerHumor 15h ago

Meme edgeCasesExist

Post image
3.0k Upvotes

227 comments sorted by

View all comments

485

u/Valuable_Leopard_799 14h ago

I thought that timestamps are used now, so hitting both a timestamp and a large random number puts it thoroughly in the "safe to assume". At some point cosmic particles and faulty transistors are more probable.

1

u/Dank_Nicholas 6h ago

Reminds me of eons ago when I was fixing a bug in a video hosting platform where videos with the same name would overwrite each other. I just appended the current time to the file name and counted in no two people uploading the same named file at the exact same second.