20 ms·
I find it's very productive to write the production code in Go, but very labor-intensive to achieve adequate test coverage over the error return branches. Of c
by closeparen 5y ago
I find it's very productive to write the production code in Go, but very labor-intensive to achieve adequate test coverage over the error return branches.
Of course not every organization needs this, but many people will find B2B customers, regulators, due diligence people, etc. who are interested in the coverage metric as an indicator of quality. If you write the same tests as you would for another language, your line coverage will suck.
- throwaway894345 5y agoThat’s a real bummer that anyone seriously cares about that metric, or that they think line coverage between different languages should be comparable. Insane.