Re:The Code Documentation Fallacy
by einhverfr on Friday October 18, 2013 @05:47AM
(#6570521)
In both cases, you shouldn't be documenting and testing the internals if your functions, but the code contract, i.e. that it does what you have agreed with other developers that the function will do.
The question is not whether to test or whether to document, but what to test and what to document.
The question is not whether to test or whether to document, but what to test and what to document.