4 ms·
Sounds like a well placed comment would be of more value than a test there.
by falcolas 11y ago
Sounds like a well placed comment would be of more value than a test there.
- deleted 11y ago[deleted]
- CamatHN 11y agoComments are easy to miss though. We arnt perfect about going through our code and testing gives us objective measures.
- falcolas 11y agoA test won't say why code is the way it is; it will simply provide some sample input and expected output to that code. This may be enough, but not always.