4 ms·
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
by ChrisMarshallNY 6y 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.
- uCantCauseUCant 6y agoIts 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.
- Kerrick 6y agoFewer LoC isn't always better for maintenance. I'd certainly rather have my team maintain 1KLoC of JavaScript than 50LoC of Brainfuck.
- ChrisMarshallNY 6y agoGood 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).