Re:The problem with invariants is that they change over time
by mrkeen on Tuesday April 23, 2024 @02:34AM
(#40129132)
> they are cumbersome for humans to read and compare, e.g scanning log files.
I think the positive still outweighs the negative here: you can search your whole company's logs for a UUID and you won't get false positives like you would with serial integers.
And in any case the German tank problem means that you often can't use incrementing numbers as surrogate keys if they are ever exposed to the public e.g in urls.