←back to thread

68 points der_gopher | 2 comments | | HN request time: 0.011s | source
Show context
nighthawk454 ◴[] No.46210767[source]
Mentioned in the article's comments:

> Why not use UUID7?

> "ULID is much older than UUID v7 though and looks nicer"

For those unfamiliar, UUIDv7 has pretty much the same properties – sortable, has timestamp, etc.

ULID: 01ARZ3NDEKTSV4RRFFQ69G5FAV

UUIDv7: 019b04ff-09e3-7abe-907f-d67ef9384f4f

replies(3): >>46211241 #>>46211420 #>>46211514 #
nvader ◴[] No.46211241[source]
UUIDv7 looks better in the eye of this beholder.
replies(1): >>46211515 #
1. ChymeraXYZ ◴[] No.46211515[source]
I know it may sound stupid but in my latest project I chose ULIDs because I can easily select them as one word, instead of various implementations of browsers, terminals, DB guis, etc each have their own opinion how to select and copy the whole UUID. So from that point of view ULIDs "look" better for me as they are more ergonomic when I actually have to deal with them manually.
replies(1): >>46213366 #
2. unscaled ◴[] No.46213366[source]
I don't think it's stupid and this is one of the reason I prefer ULIDs or something like it. These IDs are very important for diagnostics, and making them easily selectable is a good goal in my book.