Skip to main content
Question Protected by gnat
Post Closed as "Needs more focus" by user40980, durron597, user22815, Kilian Foth, Dan Pichelman
Tweeted twitter.com/#!/StackProgrammer/status/297783691474784256
added 69 characters in body
Source Link
Kristian
  • 589
  • 1
  • 4
  • 6

I have been told that the average number of bugs/defects per line of code is "constant" for different programming languages. This10 KLOC of Ruby would have the same number of bugs as 10 KLOC of c++. The argument is usually used to promote the use of expressive languages (think python/ruby over c++/assembly) since the number of lines to describe the same functionality would be smaller.

Does anybody know where this claim comes from? Does higher-level languages lead to fewer bugs?

I have been told that the average number of bugs/defects per line of code is "constant" for different programming languages. This argument is usually used to promote the use of expressive languages (think python/ruby over c++/assembly) since the number of lines to describe the same functionality would be smaller.

Does anybody know where this claim comes from? Does higher-level languages lead to fewer bugs?

I have been told that the average number of bugs/defects per line of code is "constant" for different programming languages. 10 KLOC of Ruby would have the same number of bugs as 10 KLOC of c++. The argument is usually used to promote the use of expressive languages (think python/ruby over c++/assembly) since the number of lines to describe the same functionality would be smaller.

Does anybody know where this claim comes from? Does higher-level languages lead to fewer bugs?

added 236 characters in body
Source Link
Kristian
  • 589
  • 1
  • 4
  • 6

I have been told that the average number of bugs/defects per line of code is "constant" for different programming languages. This argument is usually used to promote the use of expressive languages (think python/ruby over c++/assembly) since the number of lines to describe the same functionality would be smaller.

Does anybody know where this claim comes from? Does higher-level languages lead to fewer bugs?

I have been told that the average number of bugs/defects per line of code is "constant" for different programming languages.

Does anybody know where this claim comes from?

I have been told that the average number of bugs/defects per line of code is "constant" for different programming languages. This argument is usually used to promote the use of expressive languages (think python/ruby over c++/assembly) since the number of lines to describe the same functionality would be smaller.

Does anybody know where this claim comes from? Does higher-level languages lead to fewer bugs?

Source Link
Kristian
  • 589
  • 1
  • 4
  • 6

Is the average number of bugs per loc the same for different programming languages?

I have been told that the average number of bugs/defects per line of code is "constant" for different programming languages.

Does anybody know where this claim comes from?