Hacker News new | ask | show | jobs
by lolsal 1061 days ago
The dashes serve humans eyeballing uuids, not computers. You can remove the uuid in your language of choice and I’m confident it will be able to parse.

How are uuids pointless?

Hexadecimal is much more human friendly than say, binary.

1 comments

- The specific divisions of the dashes is meaningless and asymmetrical for legacy reasons

- Hexadecimal is bloated compared to other encodings, low entropy per digit, inefficient when e.g. embedded in URLs

- Is not memorable for humans, does not use the entire alphabet, and has no redundancy or checksum to detect typoes.

Pretty much anything else would be better, and is. Hence, it is a cargo cult.

I've never seen a database so unusable as one that was indexed by non sortable uuids.

I hate it every time I have to use it. It signals bad taste and is a warning sign to look out for more pointless code drudgery.