Hacker News new | ask | show | jobs
by Leftium 775 days ago
Is this an argument against strongly typed identifiers, or just an argument against adding too much meaning to the identifier?

I think if the identifier just adds what type of data it is identifying, the extra meaning will only become obsolete at the same time that data does. And the extra type information can help avoid/debug problems where the wrong type of id was used.

Compare with strongly typed ids/type branding:

- https://hw.leftium.com/#/item/39174998

- https://www.peakscale.com/strongly-typed-ids/

- https://andrewlock.net/using-strongly-typed-entity-ids-to-av...