Re:Generating a Java program with 90% less code
by dcolkitt on Wednesday December 04, 2019 @12:38PM
(#21704537)
There are tradeoffs to this approach. When the tests break it becomes a lot harder to triangulate the origin of the problems.
[ Parent
| on HN ]
Re:Generating a Java program with 90% less code
by runeks on Friday December 06, 2019 @06:14AM
(#21720763)
I don’t buy this argument.
Once you know there’s a bug, you will definitely want to write more tests, in order to find the cause. But always writing a lot of tests, which are only usable in case you find a bug, seems like wasted effort to me.
If you need to triangulate the origin, do that when it’s necessary (i.e. when your broad test fails) and not all the time.