Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
haileys
50 days ago
|
parent
|
context
|
favorite
| on:
Every GitHub object has two IDs
Encoding a type name into an ID is never really something I've viewed as being about performance. Think of it more like an area code, it's an essential part of the identifier that tells you how to interpret the rest of it.
maxbond
50 days ago
[–]
That's fair, and you could definitely put a prefix
and
a UUID (or whatever), I failed to consider that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: