Skip to content

Comment on GUIDs Are Not the Only Answerparent

Comments

The GUID vs Int problem is incidental to the real problem: poorly formatting logs.

This.

The author's arguments boil down to "UUIDs are bad because the way I generate my logs is an unusable mess".

The ints vs UUIDs problem is also specious because a UUID is nothing more than a 16 byte int that's generated in a clever way. It might typically be presented in a particular string representation but the text string is not the value of the UUID.

Yeah, IDs with a sufficiently large dataset will be unintelligible no matter what you do.

Structured logs would help here in order to extract the logged information in an easy way.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.