2 ms·
Testability of code is indeed a good benchmark for code quality. The things that make it hard to test code are also the things that are associated with low qual
by jillesvangurp 3y ago
Testability of code is indeed a good benchmark for code quality. The things that make it hard to test code are also the things that are associated with low quality code.
Something with low coupling, high cohesion, and low complexity should be easy to unit tests.
- Jensson 3y agoCompetitive programming code is extremely easy to test, but many would argue it isn't high quality.