Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Swedish Exchange paralyzed by buy order for "-6 stocks". Parent comment
4e9 is invalid but in the middle of the way (more often than not) this may be interpreted as a negative number.
Hence you need to check for value 'bigger than allowed' and 'smaller than allowed'
For unsigned ints, there is a natural smallest value allowed: zero.
You're free to not follow my advice though.
And the google style guide is subtle, it's not what you're implying. You can't use 'short' for example unless explicitly.
There are no comments on this comment yet.
4e9 is invalid but in the middle of the way (more often than not) this may be interpreted as a negative number.
Hence you need to check for value 'bigger than allowed' and 'smaller than allowed'
For unsigned ints, there is a natural smallest value allowed: zero.
You're free to not follow my advice though.
And the google style guide is subtle, it's not what you're implying. You can't use 'short' for example unless explicitly.