|
|
|
|
|
by tossandthrow
37 days ago
|
|
I have had this conversation with the team. I lead, who started to use properties of the ID for ordering etc. An ID is an identifiers. It supports exactly the operation of comparing two IDs to establish identity. When you start to treat them as something else that is not guaranteed, you will see weird things happening. |
|
As long as you have absolute control over every single ID generated, it will work just fine. The problem is that it's way too easy to accidentally generate UUID in a way that ignores whatever rules you set up for it. Also, clocks are hard.