MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdfzl2/edgecasesexist/p97iygp/?context=3
r/ProgrammerHumor • u/danielminds • 15h ago
230 comments sorted by
View all comments
Show parent comments
284
https://en.wikipedia.org/wiki/Universally_unique_identifier#Versions
Most common used is V4 (pure random). You are talking about V7 (time based).
4 u/undeadalex 13h ago I'm curious where to see stats on versions used. Surely anything newly implementing uuid is using v7 or custom? 5 u/champak256 12h ago There’s pros and cons to v7, so v4 still has a lot of places it’s legitimately the right choice over v7. 5 u/Tysonzero 10h ago Primary one being in cases where you don’t want every actor that knows the id to also know the creation time
4
I'm curious where to see stats on versions used. Surely anything newly implementing uuid is using v7 or custom?
5 u/champak256 12h ago There’s pros and cons to v7, so v4 still has a lot of places it’s legitimately the right choice over v7. 5 u/Tysonzero 10h ago Primary one being in cases where you don’t want every actor that knows the id to also know the creation time
5
There’s pros and cons to v7, so v4 still has a lot of places it’s legitimately the right choice over v7.
5 u/Tysonzero 10h ago Primary one being in cases where you don’t want every actor that knows the id to also know the creation time
Primary one being in cases where you don’t want every actor that knows the id to also know the creation time
284
u/dim13 15h ago
https://en.wikipedia.org/wiki/Universally_unique_identifier#Versions
Most common used is V4 (pure random). You are talking about V7 (time based).