saclark11

Joined 13 years ago

Karma
225
Submissions
38
Member since
Jul 21
Software Engineer
View on Hacker News

Recent submissions

Comment · 11 months ago
Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
> "UUID" was already taken by Google.

This shouldn't really matter as your import paths are obviously different. `github.com/google/uuid` and `github.com/sdrapkin/guid` can happily coexist. Any file/codebase importing both (which would ideally be avoided in the first place) can alias them.

> IMHO "Guid" is just as well known

I think the point the commenter was trying to make is that these do not adhere to the UUID spec. You don't specify which version, but judging by the docs and your comparison to `github.com/google/uuid`, I'd wager most folks looking at this library would assume they are supposed to be V4 UUIDs.

Comment · 1 year ago
Comment · 2 years ago
Comment · 2 years ago
Yes. Two of Go's creators, Rob Pike and Ken Thompson, were also authors of Plan 9 at Bell Labs.
Comment · 2 years ago
Comment · 2 years ago
Pretty much, yes. If you imagine “Bob” has a policy that he can only converse with numbers in his address book, then you could think of it as:

  1. -> Alice calls Bob

    1.a. Bob does not pick up the call, but adds the number shown from caller ID to his address book

  2. <- Bob calls the number (Alice) back
  3. -> Alice picks up and they talk happily

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton