Study of 49 programmers: static type system had no effect on development time
11–20 of 192 posts
Re: Study of 49 programmers: static type system had no effect on development time
#12Re: Study of 49 programmers: static type system had no effect on development time
#13I'd like to see them hand a pre-written codebase of say, 10,000 lines to a bunch of students, and ask them to make large changes/new features to the codebase.
Re: Study of 49 programmers: static type system had no effect on development time
#14From my personal experience, dynamic typing usually works well with 1-2 developers and continues to be useful until about 4-5 developers (static typing too for that matter). After that, static typing usually wins pretty consistently.
My personal preference is static typing. I find it makes the code more readable and catches a lot of oopses early, at compile time. Otherwise you just end up writing a ton of test cases and hope to catch the same issues at runtime. So you have less protection (you have to catch it with a test), and you just end up spending more time writing tests anyways.
I do understand the benefits of both, I just prefer static typing because of the way I work. Both work and have their places. Like everything else, you need to use the right tool for the right job AND the right people.
Re: Study of 49 programmers: static type system had no effect on development time
#15I tend to find the strongest proponents of static typing are the least familiar with dynamic languages
I don't think it's a big deal.
Re: Study of 49 programmers: static type system had no effect on development time
#162. They ought to check on maintenance effort and time with different type systems as well.
Re: Study of 49 programmers: static type system had no effect on development time
#17Re: Study of 49 programmers: static type system had no effect on development time
#18The study followed 49 undergraduates who had taken Java classes. I would argue that, because of this, the students were probably more experienced with static type systems.
A good point. Also, 49 programmers is very little. But even with thousands of developers using all sorts of languages, it's still moot to draw any conclusion from. It's very subjective and dependant on people's experience/taste/State-of-mind.. For me, switching from static (java) to dynamic typing (common lisp) has saved me a lot of development time. Or did it? Maybe it was Emacs? Maybe it was functional programming?…
Cf. node.js
Re: Study of 49 programmers: static type system had no effect on development time
#19Re: Study of 49 programmers: static type system had no effect on development time
#20It seems the only question this experiment could possibly claim to answer is whether or not the additional finger typing required by static languages affects the coding speed of these particular 49 undergrads.