Re:Ask HN: How much code do you write a day?
by smt88 on Tuesday May 09, 2017 @05:21AM
(#14298645)
I think you've intentionally taken what I said to an extreme that makes it absurd. Of course I wasn't saying people should comb through a program until it's bug-free before releasing it.
That said, no one (in their right mind) intentionally releases buggy code. They may release incomplete or under-tested code, of course. But that's not what I'm talking about.
I'm saying that when someone feels like they're "done" (in a reasonable amount of time), some people will end up with more bugs than others. If the trade-off is 3 more hours of work for 1 fewer bug, that's an incredible economy.
And, of course, no metric is perfect or comprehensive. But "bugs per hour" is much better than LoC per hour.
That said, no one (in their right mind) intentionally releases buggy code. They may release incomplete or under-tested code, of course. But that's not what I'm talking about.
I'm saying that when someone feels like they're "done" (in a reasonable amount of time), some people will end up with more bugs than others. If the trade-off is 3 more hours of work for 1 fewer bug, that's an incredible economy.
And, of course, no metric is perfect or comprehensive. But "bugs per hour" is much better than LoC per hour.