News for hackers. Stuff that matters.
Re:Ask HN: How much code do you write a day? by tehlike on Tuesday May 09, 2017 @03:20AM (#14298285)
Err, I will disagree on this. It all depends on where you work at.

You can have a bugfree code, but release it in 6 months. Or you can have a code that creates outages once per month, but release it in 3 months (figure of speech, 6 months is optimistic for some projects).

By trying to optimize for 0 bugs, you are losing on the 3 month of business opportunity of high revenue. At FANG scale, that's a lot of money.

Disclaimer: G employee, but this is my own opinion etc.

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.

Re:Ask HN: How much code do you write a day? by tedmiston on Tuesday May 09, 2017 @10:52AM (#14300500)
FANG = Facebook, Amazon, Netflix, Google