Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


That sounds like a you problem.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: