logoalt Hacker News

spoileryesterday at 4:46 PM1 replyview on HN

More broadly, this is the ages old surrogate vs natural key discussion, but yes the comment completely misses the point of the article. I can only assume they didn't read it in full!


Replies

vintermannyesterday at 4:55 PM

The article explicitly argues against the use of GUIDs as primary keys, and I'm arguing for it.

A running number also carries data. Before you know it, someone's relying on the ordering or counting on there not being gaps - or counting the gaps to figure out something they shouldn't.

show 3 replies