3 ms·
Has there ever been an analysis of what percentage of total bugs can be prevented by static typing? I moved from static to dynamic languages and in my experienc
by airocker 6y ago
Has there ever been an analysis of what percentage of total bugs can be prevented by static typing? I moved from static to dynamic languages and in my experience static languages dont provide too much upside but then I have always worked in smaller teams.
- pansa2 6y agohttps://softwareengineering.stackexchange.com/questions/10032/dynamically-vs-statically-typed-languages-studies https://softwareengineering.stackexchange.com/questions/1003...
- airocker 6y agoThis is good read. In a nutshell, Would it be fair to say start with Python and move to Java when team grows to 50+?
- worldsayshi 6y agoTo me the benefit of static types is more about providing help as I type. Anything that can make the error appear as early as possible as well as provide suggestions that makes sense makes me so much more efficient.
- airocker 6y agoMy experience: I used to interview and do leetcode in C++ and I could never match the speed of Python people. I switched to Python and I could.
- worldsayshi 6y agoWhat is easy or hard in a few hundred lines of code doesn't say much about what is easy or hard in thousands of lines.
- yawaramin 6y agoSee https://blog.acolyer.org/2017/09/19/to-type-or-not-to-type-quantifying-detectable-bugs-in-javascript/ https://blog.acolyer.org/2017/09/19/to-type-or-not-to-type-q...