40 ms·
> usually (unless it's terribly written) removing lines by condensing things down only leads to harder legibility You're right, but that's not always true. In
by smt88 9y ago
> usually (unless it's terribly written) removing lines by condensing things down only leads to harder legibility
You're right, but that's not always true. In any sufficiently large project, there are thousands of LoC that can be removed by changing libraries, writing DRYer code, etc.
However, turning it into a competition probably isn't going to stay within the lines of "good" lowering of LoC.
And, in some cases, increasing LoC can make the code better. For example, breaking up a huge method into several, well-named methods will slightly increase LoC, but also increase readability.