← Back to context

Comment by andix

5 years ago

From my experience, and just a rule of thumb:

If you give a bug to a software developer to fix, the good software developer will probably rewrite some code and in the end the LOC count will be the same or less. The bad/lazy software developer will glue some fix on top of the bug and add additional LOCs.

Depends. Sometimes software is so convoluted that you're sparing yourself and your colleagues a lot of trouble by adding that one liner rather than doing a big refactoring, especially in the absence of tests.