4 ms·
> we believe that the number of bugs is proportional to the number of lines of code Why would you believe that? And if you do believe that why don't you use a
by XR0CSWV3h3kZWg 8y ago
> we believe that the number of bugs is proportional to the number of lines of code
Why would you believe that?
And if you do believe that why don't you use a code golfing language?
- always_good 8y agoWhat exactly are you contributing by taking what they said to the extreme? Should someone now have to point out to you that a million-line function is worse than a ten-line function for calculating fizzbuzz? Is that meaningful discourse in your book?
- XR0CSWV3h3kZWg 8y agoMy response seems to have upset you. I'm sorry that happened. In general I believe that number of lines of code is correlated with number of bugs, but I would hesitate to say that it is proportional to. Going in with the explicit goal of reducing the number of lines could easily lead to more bugs, not less.