2 ms·
> I've never heard such a claim on the internet until only recently. Knowledge progresses. You can choose to come along or be left behind. > If the 15% of you
by mannykannot 9y ago
> I've never heard such a claim on the internet until only recently.
Knowledge progresses. You can choose to come along or be left behind.
> If the 15% of your bugs are simple type errors, then I'd suspect the quality and experience of your development team.
This is an empirical study, carefully constructed to be conservative in its estimation of the achievable benefits of what even these limited type systems could achieve in practice. No amount of sophistry about what can be called a type bug can alter that. If you think the code sample was unrepresentative, perhaps you could arrange for the code of the projects you have managed to be analysed by the same methods.
- flavio81 9y ago>Knowledge progresses. You can choose to come along or be left behind. Dynamic weakly typed languages have been in use on the internet for more than 10 years and i've listed them above, so we're not talking about new stuff or new paradigms. If you, with your overtly smug comment above, want to imply that you are not "left behind" in terms of "knowledge" of the state of the art in programming, you shouldn't be clinging to javascript transpilers but using truly modern tools like Haskell, Clojure/Clojurescript, Racket, Julia and Lisp/Parenscript. Because knowledge progresses, and you shouldn't be left behind.
- mannykannot 9y agoIndeed I have moved on - I'm not using Javascript transpilers. Maybe it was an unreasonably smug reply, for which I apologize, and I hope it hasn't distracted from the main point that the value of this empirical study is not diminished by specious arguments about what constitutes a type error.
- flavio81 9y ago>the value of this empirical study The problem is the sample that this study is looking at. As i wrote above, GitHub is simply a big container of code for literally everybody, so judging kind of bugs produced by looking at what it's inside the Github repositories is akin to judging how many gramatical errors book authors make by taking a look at all the MS word documents stored in Dropbox. PS: No worries, and thank you for being friendly. :)
- mannykannot 9y agoThat's a fair point, and I would like to see this sort of study extended to professional code, and more complete type systems. Unfortunately, there are only a few languages and type systems in which this sort of comparison can be made. I am, by temperament, inclined to to believe that typing can improve quality, but so far, empirical studies have not made much of a case for that, and I put empirical evidence above even my own opinions.