3 ms·
Quality as in no bugs is good but that doesn't mean it's quality _code_. I've seen bloated and horrible code pass static analysis as well as less bloated but ju
by nwmcsween 10y ago
Quality as in no bugs is good but that doesn't mean it's quality _code_. I've seen bloated and horrible code pass static analysis as well as less bloated but just as horrible pass cyclomatic complexity tests. Sadly I don't think there is an automated way to gauge quality from the perspective of a programmer.
- SEJeff 10y agoAnd the reason for that is quality is a relative metric which is almost impossible to quantify. * Static analysis looking for bugs per thousand lines of code * Idiomatic code adopting language specific preferences * Code that is easy to maintain but is slow as molasses * Code that works well enough and was written super fast * Code that is microoptimized to the extreme, is super fast, but difficult to maintain due to inline ASM For certain cases, each of these could be considered quality or atrocity. It is all about context.