3 ms·
The UX of UUIDs... should not exist. There are so many great ways to improve UX that don't involve overloading or mangling an internal primary identifier that o
by pphysch 3y ago
The UX of UUIDs... should not exist. There are so many great ways to improve UX that don't involve overloading or mangling an internal primary identifier that otherwise follows a standard structure.
Use immutable human-readable identifiers like "slugs" and/or "natural keys" in addition to robust primary keys.
> TLDR Please don't do this: https://company.com/resource/c6b10dd3-1dcf-416c-8ed8-ae561807fcaf https://company.com/resource/c6b10dd3-1dcf-416c-8ed8-ae56180...
That URL is fine, it should just be a 30X to https://company.com/stuff/cute-slug https://company.com/stuff/cute-slug and you should use the user-friendly URL where possible.
- Kwpolska 3y agoUser-friendly URLs with slugs are useful for blogs and other things commonly linked to. But for many other entities, links will be rare, and the central coordination required would just be a waste of time.
- pphysch 3y agoGreat, then this isn't a problem. There is no "central coordination" required to set up URL redirects, by the way.