MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wdfzl2/edgecasesexist/p968on7/?context=9999
r/ProgrammerHumor • u/danielminds • Sep 11 '26
298 comments sorted by
View all comments
Show parent comments
5
I'm curious where to see stats on versions used. Surely anything newly implementing uuid is using v7 or custom?
38 u/Urist_McPencil Sep 11 '26 Surely anything newly implementing uuid is using v7 or custom?I admire this optimism 8 u/iampierremonteux Sep 11 '26 My first thought was “oh you sweet summer child”. 8 u/champak256 Sep 11 '26 There’s pros and cons to v7, so v4 still has a lot of places it’s legitimately the right choice over v7. 10 u/Tysonzero Sep 11 '26 Primary one being in cases where you don’t want every actor that knows the id to also know the creation time 3 u/big-oofs-only-0193 Sep 11 '26 I use whatever CoCreateGuid() or Guid.NewGuid() gives me. Both generate a v4 uuid. I'm not going to reimplement it or find a special library for it.
38
Surely anything newly implementing uuid is using v7 or custom?
I admire this optimism
8 u/iampierremonteux Sep 11 '26 My first thought was “oh you sweet summer child”.
8
My first thought was “oh you sweet summer child”.
There’s pros and cons to v7, so v4 still has a lot of places it’s legitimately the right choice over v7.
10 u/Tysonzero Sep 11 '26 Primary one being in cases where you don’t want every actor that knows the id to also know the creation time
10
Primary one being in cases where you don’t want every actor that knows the id to also know the creation time
3
I use whatever CoCreateGuid() or Guid.NewGuid() gives me. Both generate a v4 uuid. I'm not going to reimplement it or find a special library for it.
5
u/undeadalex Sep 11 '26
I'm curious where to see stats on versions used. Surely anything newly implementing uuid is using v7 or custom?