Re:Why Isn't Debugging Treated as a First-Class Activity?
by dotancohen on Wednesday July 11, 2018 @01:06PM
(#17508469)
I hope that you're leaving a comment in the function noting why you think that NUL should not be checked. Also, depending on the field, you might want to consider defensive programming.
[ Parent
| on HN ]
Re:Why Isn't Debugging Treated as a First-Class Activity?
by wilun on Wednesday July 11, 2018 @02:24PM
(#17509083)
The meaning of "defensive programming" is highly contextual even within a given "field". Also, major influential parts of the industry (last example in date being the C++ committee) are moving away from indistinct checks and exceptions, and toward contractual programming.