Hacker News new | ask | show | jobs
by CodesInChaos 252 days ago
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.
1 comments

That sounds like a you problem.