Mention defensive programming to the debugging module
jcstock opened this issue · 0 comments
jcstock commented
The first bug was a type issue. Defensive programming would have made resolving this bug a non-issue.
@jimhester mentioned several options to consider: assertive, assertthat, checkmate, stopifnot, etc.