How important is it to reduce the number of lines in code?

This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites.

Ankit works in J2SE (core java). During code reviews, he’s frequently asked to reduce his lines of code (LOC). “It’s not about removing redundant code,” he writes. To his colleagues, “it’s about following a style.” Style over substance. Ankit says the readability of his code is suffering due to the dogmatic demands of his code reviewers. So how to find the right balance of brevity and readability?

See the original question here.

Read 20 remaining paragraphs | Comments


Ars Technica » Technology Lab