logoalt Hacker News

saagarjha • yesterday at 5:46 PM • 1 reply • view on HN

Just use UUIDs as they were meant to be used, as a random identifier. Don't shove random other junk into it!


Replies

cpburns2009 • yesterday at 6:40 PM

The point of shoving the timestamp into it is to make it work well with database indexes. UUIDv4 is awful in that regard.

➕ show 1 reply