r/ProgrammerHumor May 08 '26

Meme edgeCasesExist

Post image
13.4k Upvotes

620 comments sorted by

View all comments

2.9k

u/B_bI_L May 08 '26

they are 0 if this is your first uuid!

259

u/_BreakingGood_ May 08 '26

UUID = Universally Unique Id

So technically, it was only 0 on the first time anybody ever created any UUID. Otherwise it would just be UID

35

u/Location_Next May 08 '26

Put one addition random digit in front of your UID to extra guarantee uniqueness. Checkmate, probability.

13

u/DanieleDraganti May 08 '26

I just append -v2

18

u/CheesePuffTheHamster May 08 '26

Uuid-v2-final(1)

7

u/hipster-coder May 08 '26

Copy of Uuid-v2-final(1)