Hacker News new | past | comments | ask | show | jobs | submit login

So, because its not perfect, should you throw it all out?



No. Because people tend to make more mistakes if they try to use unsigned values in this manner in C/C++.


I’ve personally never encountered a bug that turned out to be caused by an unsigned value. YMMV, I guess.


If seen all sorts of bugs caused by surprise conversions, as well as overflows that cause bugs that would be statically detectable but can't become blocking errors because unsigned overflow is well defined.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: