8 versions of UUID and when to use themwww.ntietz.com Otter ( @otter@lemmy.ca ) Programming@programming.devEnglish • 7 days ago message-square12fedilinkarrow-up182
arrow-up182external-link8 versions of UUID and when to use themwww.ntietz.com Otter ( @otter@lemmy.ca ) Programming@programming.devEnglish • 7 days ago message-square12fedilink
minus-square thanks_shakey_snake ( @thanks_shakey_snake@lemmy.ca ) linkfedilink50•7 days agoThey should make the versions UUIDs instead of integers so that we don’t make assumptions about their ordinal relationships.
minus-square RonSijm ( @RonSijm@programming.dev ) linkfedilink2•5 days agoYea, should have been V-00000000-0000-0000-0000-000000000008 instead
minus-square .:\dGh/:. ( @darkghosthunter@lemmy.ml ) linkfedilink2•5 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-square kibiz0r ( @kibiz0r@midwest.social ) linkfedilinkEnglish3•6 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?