Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
CodesInChaos
3 months ago
|
parent
|
context
|
favorite
| on:
The best worst hack that saved our bacon
I'm far more likely to assume that an integer-id I get from an API is non-negative or even positive than to assume that they're always smaller than 2^31. And I'd be far more likely to blame the API provider for violating the former assumption.
NetMageSCW
3 months ago
[–]
That sounds like a you problem.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: