8 ms·
LoC is a good code quality metric, only it has to be inverted. Not "it wrote C compiler in 100 000 lines of code", but "in just 2000 lines of code". Now that is
by viktorcode 7mo ago
LoC is a good code quality metric, only it has to be inverted. Not "it wrote C compiler in 100 000 lines of code", but "in just 2000 lines of code". Now that is impressive and deserves praise.
- Kerrick 7mo agoI don't want to maintain an information system written in the style of code golf competitions, either. I like the author's proposed "Comprehension coverage" metric. It aligns well with Naur's Programming as Theory Building.
- hamuraijack 7mo agothis is also easily gameable. Any language can easily be converted into a single LOC
- prepend 7mo agoNot necessarily. If I minimize my project and get everything on one line, is that good? I think not. Measuring success based on how may or how few lines there are is a bad idea, I think.