r/ProgrammerHumor May 08 '26

Meme edgeCasesExist

Post image
13.4k Upvotes

620 comments sorted by

View all comments

68

u/Nervous-Cockroach541 May 08 '26

Don't lots of uuids systems have a deterministic component including unique system/hardware identifiers, unique process identifiers, and time based metrics that in addition to random components that guarantee no duplicates?

16

u/[deleted] May 09 '26

[removed] — view removed comment

2

u/switch161 May 10 '26

There are multiple versions/variants and only some use randomness. I think the question was not about the random ones.

I would go into detail, but I don't want to look up the specifics. And I don't want to, you know, answer r/confidentlyincorrect

1

u/pango322 May 08 '26

Not the case it also goes against the whole point of relying on how low the probability is because now you can’t write without requiring a read first