Re:Understanding Integer Overflow in C/C++ (2012) [pdf]
by nkurz on Saturday July 09, 2016 @06:34PM
(#12063655)
Avoiding undefined behavior is good, and a good programmer tries to avoid undefined behavior. The fallacy is that there exists a population of C and C++ programmers who are skilled enough to always recognize and avoid undefined behavior. While you could define "a good programmer" as one who always recognizes and avoids undefined behavior, the unhelpful result would be concluding that very few good C or C++ programmers exist, possibly none.
[ Parent
| on HN ]