Skip to content

Comment on EIDs (Encoded IDs)parent

Comments

Not gonna lie, UUIDs are awful and I agree with that being a requirement. My personal favorite is actually Amazon's ID system. The fact that at a glance I know what type/class of resource something is phenomenal.

Looking at you Azure. You GUID dumpster-fire of an API.

I also like Stripe's prefixes. like sk_ or card_ etc.

Removes any ambiguity.

AboutSource Built by g1lg1l

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