Re:Defensive Programming
by mkoubaa on Wednesday December 23, 2020 @06:02PM
(#25523307)
One thing I try to do in c++ is pass things by reference in lower level libraries so that client code has to be defensive but library code assumes non null.
[ Parent
| on HN ]
There are no comments on this comment yet.