by mightybyte · 17y ago · 0 comments
Now, if we make the reasonable assumption that my rewrite was not a candidate for the IOCCC or Perl Golf, I think it's pretty clear that lines of code is not meaningless. A >75% code reduction while maintaining the same functionality under reasonable development conditions is almost always going to make it easier to test, debug, and maintain the system/module. (This assumption isn't unsubstantiated either. In a code review, I was even complimented on the quality of my documentation.)
You hear about these kinds of vast disparities among software developers all the time, but I still find myself shaking my head that I actually saw it in real life. Now I'll freely admit that "lines of code" is mostly meaningless the way it is usually used. But don't throw the baby out with the bath water.
So you can't measure less LOC means it's better, it really depends on the quality of the code from a maintainability standpoint not just the size of code.
The guy who did the code review found the 1950 very readable, and much simpler.
There are no absolutes. But that doesn't make these metrics useless.
And rereading this essay again shows at least part of the motivation for making arc a smaller language than lisp.