3 ms·
I think C and C++ are pretty terrible languages for most application developers, and they are also from an earlier generation of languages than JavaScript, so I
by klodolph 13y ago
I think C and C++ are pretty terrible languages for most application developers, and they are also from an earlier generation of languages than JavaScript, so I don't see how we can ascribe the difference in productivity to dynamic versus static type systems.
The most damning thing is perhaps that C and C++ require additional testing that JavaScript does not require, and that is testing for memory safety. In C++ you can kind of stay safe by using references but there is still a lot of risk and you always have to keep object lifetimes in mind. C and C++ are probably among the least productive languages in common use today for other reasons as well—such as for their header files.
- apaprocki 13y ago> I don't see how we can ascribe the difference in productivity to dynamic versus static type systems My personal opinion/observation/"gut feeling" is that dynamic typing has helped, but I haven't done any kind of concrete study to figure out its impact vs, say, removing the compile/link phase. I observe some of the code being written and definitely see programmers taking advantage of the dynamic nature of the language.