> You can argue that, but then what is its purpose? Why should anyone care about the creation date of a by-design completely arbitrary thing?
Pretty sure sorting and filtering them by date/time range in a database is the purpose.
Pretty sure sorting and filtering them by date/time range in a database is the purpose.
What? This is definitely not the case and can’t be because B-tree nodes change while UUIDs do not.
It is easy to have strong opinions about things you are sheltered from the consequences of.
This assumption that you can query across IDs is exactly what is being cautioned against. As soon as you do that, you are talking a dependency on an implementation detail. The contract is that you get a UUID, not that you get 48 bits of timestamp. There are 8 different UUID types and even v7 has more than one variant.