A Large-Scale Study of Programming Languages and Code Quality in GitHub (2014)
Figure 2 suggests another possible bias favoring functional, managed languages: a lot of errors for C/C++ are related to concurrency and performance. But those are mostly non-bugs for other languages, since when concurrency or performance are a requirement then most of those studied languages would not be considered anyway.It seems similar to the paradox that makes the best medicine appear to have a lower survival rate just because it's given to most serious patients.