News for hackers. Stuff that matters.
Re:Test-Driven Development is Stupid by falcolas on Tuesday November 24, 2015 @08:34AM (#10620585)
Sounds like a well placed comment would be of more value than a test there.
Re:Test-Driven Development is Stupid by CamatHN on Tuesday November 24, 2015 @09:56AM (#10621019)
Comments are easy to miss though. We arnt perfect about going through our code and testing gives us objective measures.
Re:Test-Driven Development is Stupid by falcolas on Tuesday November 24, 2015 @03:45PM (#10623547)
A 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.