29 ms·
>Number of bugs per line of code is nearly the same across languages. Has this been studied?
by kurtisc 8y ago
>Number of bugs per line of code is nearly the same across languages.
Has this been studied?
- dmitriid 8y agoI can't give a more complete answer than this SO answer: https://softwareengineering.stackexchange.com/a/185684 https://softwareengineering.stackexchange.com/a/185684 :)
- kurtisc 8y ago15-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.
- dmitriid 8y agoRead 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.