Otter@lemmy.ca to Programming@programming.devEnglish · 5 months ago8 versions of UUID and when to use themwww.ntietz.comexternal-linkmessage-square28fedilinkarrow-up1117
arrow-up1117external-link8 versions of UUID and when to use themwww.ntietz.comOtter@lemmy.ca to Programming@programming.devEnglish · 5 months agomessage-square28fedilink
minus-squarethanks_shakey_snake@lemmy.calinkfedilinkarrow-up60·5 months agoThey should make the versions UUIDs instead of integers so that we don’t make assumptions about their ordinal relationships.
minus-squarekibiz0r@midwest.sociallinkfedilinkEnglisharrow-up4·5 months agoOr maybe an abbreviated hash of the text of their specifications?
minus-squareRonSijm@programming.devlinkfedilinkarrow-up3·5 months agoYea, should have been V-00000000-0000-0000-0000-000000000008 instead
minus-square.:\dGh/:.@lemmy.mllinkfedilinkarrow-up2·5 months 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.
They should make the versions UUIDs instead of integers so that we don’t make assumptions about their ordinal relationships.
Or maybe an abbreviated hash of the text of their specifications?
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.