Comment by ChrisMarshallNY
5 years ago
I always get a bit cranky about the LoC thing.
I’d rather have an employee that spent three days, optimizing a single 100 LoC method, than one that churned out 2,000 LoC that does the same thing, in two days, that will need to be maintained, forevermore.
Fewer LoC isn't always better for maintenance. I'd certainly rather have my team maintain 1KLoC of JavaScript than 50LoC of Brainfuck.
Good point. I write Swift. It's very easy to write almost entirely inscrutable Swift.
I sometimes have to go back, and put code back in, to make it maintainable (often, by Yours Truly).
Its the equivalent of two craftsmen installing pipes, but one installs a central, reachable, repairable and controllable system and the other installs a pipe-bomb that might do the same thing for a while.
Both will warm your house - at least once.