Comment by davesmylie
5 years ago
Twenty years ago I worked for a company that had in the past paid their contractors by LOC count.
Turns out if you base the pay on that ... why create a function and call it repeatedly when you can just copy and paste the same code block over and over again
As soon as a measure becomes a target, it ceases to be a good measure.
I have seen contractors do things like put 1000 lines of enum declarations for every integer from 1 to 1000. That's an extreme example.
My lead would have a conniption if I ever did that.