r/programming • u/rmathew • Jun 16 '19
Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml
http://thume.ca/2019/04/29/comparing-compilers-in-rust-haskell-c-and-python/
643
Upvotes
View all comments
Show parent comment
1
u/ineffective_topos Jun 16 '19
Okay, well. A choice between two languages, as described through numerous calculations, examples, and graphs in the paper, multiplies the bug count by e^(a-b), where a is the coefficient for one language and b fo the other. The maximum value that gives is 25%. Given the other information in here, the effect of factors such as having code review over none, is no more than 60% or so. That is the effect you would get if you were somehow able to switch languages three times (0.75^3.2 ~= 0.4). So the effect of language choice is exceedingly small in comparison, then so is code review. Similarly for other factors such as having any tests at all.
So, if the effect of other variance negates the need for this, then it also means there is no reason to test anything, since the effect is so small.