Otter@lemmy.ca to Programming@programming.devEnglish · 8 days ago8 versions of UUID and when to use themwww.ntietz.comexternal-linkmessage-square29fedilinkarrow-up1121arrow-down12
arrow-up1119arrow-down1external-link8 versions of UUID and when to use themwww.ntietz.comOtter@lemmy.ca to Programming@programming.devEnglish · 8 days agomessage-square29fedilink
minus-squarethanks_shakey_snake@lemmy.calinkfedilinkarrow-up59arrow-down2·8 days agoThey should make the versions UUIDs instead of integers so that we don’t make assumptions about their ordinal relationships.
minus-squareRonSijm@programming.devlinkfedilinkarrow-up3·7 days agoYea, should have been V-00000000-0000-0000-0000-000000000008 instead
minus-square.:\dGh/:.@lemmy.mllinkfedilinkarrow-up2·6 days agoYes and no. They had to put the version identifier somewhere to avoid sorting problems or parsing problems, so I think that putting somewhat in the middle is a good tradeoff.
minus-squarekibiz0r@midwest.sociallinkfedilinkEnglisharrow-up4·8 days agoOr maybe an abbreviated hash of the text of their specifications?
They should make the versions UUIDs instead of integers so that we don’t make assumptions about their ordinal relationships.
Yea, should have been
V-00000000-0000-0000-0000-000000000008
insteadYes and no. They had to put the version identifier somewhere to avoid sorting problems or parsing problems, so I think that putting somewhat in the middle is a good tradeoff.
Or maybe an abbreviated hash of the text of their specifications?