3 ms·
Loc is so easy to game. Reformat. Check in a notebook. Move things around. Pointless refactor. If nobody is watching loc, it’s generally a good metric. But as
by oofbey 1y ago
Loc is so easy to game. Reformat. Check in a notebook. Move things around. Pointless refactor.
If nobody is watching loc, it’s generally a good metric. But as soon as people start valuing it, it becomes useless.
- sebastiennight 1y agoSee https://en.wikipedia.org/wiki/Goodhart's_law https://en.wikipedia.org/wiki/Goodhart's_law and, in the case of "Lines of code" as a metric: https://en.wikipedia.org/wiki/Cobra_effect https://en.wikipedia.org/wiki/Cobra_effect