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

The argument 'google says so' is addressed by the author in part [1]: Overall their argument for avoiding unsigned integers and sample code seems surprisingly weak for a company of the caliber of Google. The most important reason to use unsigned instead of signed is not self-documentation, it is to avoid undefined behaviour.

[1] http://blog.robertelder.org/signed-or-unsigned/



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

Search: