Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tveita
on May 12, 2019
|
parent
|
context
|
favorite
| on:
Use links not keys to represent relationships in A...
No one thinks twice about using links for images. You wouldn't make an API that specified images as "image id 2345, which the client can find at /images/{id}"
minitech
on May 12, 2019
[–]
I would and have…. If you’re in a position to specify that images can consistently be identified by a small key, that’s nice and simple. Go for it.
EugeneOZ
on May 12, 2019
|
parent
[–]
Key of 10 symbols from (latin alphabet + numbers) have 3656158440062976 possible combinations.
minitech
on May 13, 2019
|
root
|
parent
[–]
That’s a fun fact, but what does it have to do with this?
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: