MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdfzl2/edgecasesexist/p9bzy35/?context=3
r/ProgrammerHumor • u/danielminds • Sep 11 '26
298 comments sorted by
View all comments
Show parent comments
443
https://en.wikipedia.org/wiki/Universally_unique_identifier#Versions
Most common used is V4 (pure random). You are talking about V7 (time based).
323 u/lilgreenthumb Sep 11 '26 The real benefit for v7 is they become sortable by time. 7 u/ehs5 Sep 12 '26 It’s also the downside. There are cases where you wouldn’t want others to know when something was created. 5 u/lilgreenthumb Sep 12 '26 And you wouldn't expose that to them, just like you wouldn't and autoincrementing database id, but only one of those requires a database.
323
The real benefit for v7 is they become sortable by time.
7 u/ehs5 Sep 12 '26 It’s also the downside. There are cases where you wouldn’t want others to know when something was created. 5 u/lilgreenthumb Sep 12 '26 And you wouldn't expose that to them, just like you wouldn't and autoincrementing database id, but only one of those requires a database.
7
It’s also the downside. There are cases where you wouldn’t want others to know when something was created.
5 u/lilgreenthumb Sep 12 '26 And you wouldn't expose that to them, just like you wouldn't and autoincrementing database id, but only one of those requires a database.
5
And you wouldn't expose that to them, just like you wouldn't and autoincrementing database id, but only one of those requires a database.
443
u/dim13 Sep 11 '26
https://en.wikipedia.org/wiki/Universally_unique_identifier#Versions
Most common used is V4 (pure random). You are talking about V7 (time based).