Which programming language is the best?
In this fascinating study, the authors analyzed commits on github to see what effect the programming languages have on the number of bugs.
Surprisingly, it does not seem to matter which programming language you choose – you will have the same number of bugs in your code.
The main difference between programming languages is what types of bugs programs written in these languages have. That’s no surprise though, for example while you can leak memory in C++, it’s quite hard to leak in Python.
I suppose what matters is who writes the code, not how? This would explain why it is so hard to find bugs in prof. Donald E. Knuth’s code.
Programming languages are for humans, they are essentially a human interface for compilers. In the future, when programmers are replaced by AI, programming languages will disappear as AI will produce optimal machine byte code and all software will be bug-free.