3 ms·
The point is not to fear undefined behavior (though if my software was used in safety systems, I would fear undefined behavior). The point is to eliminate it b
by jjnoakes 6y ago
The point is not to fear undefined behavior (though if my software was used in safety systems, I would fear undefined behavior).
The point is to eliminate it because it can cause problems in even the most well-tested code, either when the code inevitably operates outside the test parameters or when compilers or compile flags or system headers change.
Eliminate it both reactively and protectively. Not only in your own code, but encourage others to do the same.