4 ms·
I would rather see tests with no code, than code with no tests.
by what-no-tests 4y ago
I would rather see tests with no code, than code with no tests.
- bcassedy 4y agoThis is just insanely wrong-headed. Tests with no code are always negative value, the time it took to write the tests. Code with no tests might also be negative value, but it at least has the possibility of having positive value. Tests are great and TDD is great for some people, but the whole point is to write useful software. It's important not to lose sight of that.
- randomdata 4y ago> Tests with no code are always negative value They may have negative value, but it is not a foregone conclusion. Tests are merely documentation and that documentation very well could provide positive value for someone who reads it. There is no doubt insights to be gained in reading about what someone was once thinking about a particular problem. If well thought out, you might even begin implementation based on that work, saving time having to document it all over again.