Hacker News new | past | comments | ask | show | jobs | submit login

Here are some which look at GitHub for various languages and count the defect rates by analysing commit messages:

https://dev.to/danlebrero/the-broken-promise-of-static-typin...

https://www.i-programmer.info/news/98-languages/11184-which-...

https://nextjournal.com/PRL-PRG/toplas-analysis

One thing to note is that the absolute difference in terms of bugs from the worst language to the best is still minimal. So language choice doesn't seem to make or break software.

Another thing to note is that while overall static languages faired better in terms of having lower defects, Clojure did best of all.

I knew of another one but can't find it again.

Then there are a few where they had beginner programmers implement trivial programs in different programming language and checked how many errors/time it took them. But I consider those all pretty bad since the experiments are so reductionist. So I won't list them. They aren't conclusive either. Some end up saying static and dynamic are same, some say dynamic is more productive at equal defect, and some say static had less defects at equal productivity.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: