News for hackers. Stuff that matters.
Re:38% of bugs at Airbnb could have been prevented by using ... by dmitriid on Monday February 11, 2019 @04:12AM (#19133033)
> Is LOC really a significant measurement?

It is. Number of bugs per line of code is nearly the same across languages. So the best way to reduce bugs is to reduce LoC

Re:38% of bugs at Airbnb could have been prevented by using ... by kurtisc on Monday February 11, 2019 @06:17AM (#19133613)
>Number of bugs per line of code is nearly the same across languages.

Has this been studied?

Re:38% of bugs at Airbnb could have been prevented by using ... by dmitriid on Monday February 11, 2019 @09:23AM (#19134630)
I can't give a more complete answer than this SO answer: https://softwareengineering.stackexchange.com/a/185684 :)
Re:38% of bugs at Airbnb could have been prevented by using ... by kurtisc on Monday February 11, 2019 @10:03AM (#19134894)
15-50 being quite a big range and the 2004 publication date of the book (the comments hint at the reference being earlier) make me reluctant to take it at face value without looking into it in more depth, especially regarding new technology like TS, Rust, or enterprise Haskell.
Re:38% of bugs at Airbnb could have been prevented by using ... by dmitriid on Monday February 11, 2019 @10:37AM (#19135151)
Read it as 1.5-5% of lines contain bugs.

In the original post AirBnB said 38% of their bugs could be prevented by static typing. This would bring this to 0.9-3%. Not insignificant, but LoC is still more important.

Re:38% of bugs at Airbnb could have been prevented by using ... by zihotki on Monday February 11, 2019 @04:43AM (#19133169)
1-line Perl programs are looking at this comment with approval.
Re:38% of bugs at Airbnb could have been prevented by using ... by m45t3r on Monday February 11, 2019 @06:05AM (#19133558)
> 1-line Perl programs are looking at this comment with approval.

1-line Perl programs are far from being representative of real systems and generally only exists for code golfing.

Re:38% of bugs at Airbnb could have been prevented by using ... by okal on Monday February 11, 2019 @06:57AM (#19133772)
[Citation Needed]?
Re:38% of bugs at Airbnb could have been prevented by using ... by dmitriid on Monday February 11, 2019 @09:23AM (#19134631)
I can't give a more complete answer than this SO answer: https://softwareengineering.stackexchange.com/a/185684 :)