3 ms·
I'm convinced high coverage targets cause people to write worse code. With Java at least, it seems to drive people to do things like not catch exceptions. It's
by nitwit005 3y ago
I'm convinced high coverage targets cause people to write worse code.
With Java at least, it seems to drive people to do things like not catch exceptions. It's hard to inject errors so all the catch blocks are hit.
Also makes people not want to switch to use record classes, as that feature removes class boilerplate that is easy to cover.