3 ms·
I believe the evidence indicates you're wrong. The incredible growth of JavaScript usage makes it virtually inevitable...it is, simply, the fastest growing lang
by SwellJoe 13y ago
I believe the evidence indicates you're wrong. The incredible growth of JavaScript usage makes it virtually inevitable...it is, simply, the fastest growing language in the history of programming languages. There are more machines with JavaScript available and more programmers with JavaScript experience, than any other single language. That will result in more rapid library and tool support development in the near future (right now, there are languages with better tool support and bigger libraries of existing functionality...but, in a couple years that lead will evaporate).
Other dynamic languages have had a large impact on enterprise systems: Perl, Python, Ruby. JavaScript just happens to have the killer feature of being everywhere...including on the most important platform (the web).
Your premise about the incompetence of programmers is a false dichotomy. You've provided no evidence that statically typed languages make inexperienced programmers more productive. There's some evidence in favor of some esoteric languages, like Haskell and Erlang, being more productive for some classes of problem. But, dynamic languages tend to do well in the studies I've seen.
You're also assuming that even if statically typed languages were more effective for inexperienced programmers that that would be the only factor in enterprises selecting a language. There are many factors, and popularity is a huge one.
The trend in languages has been toward less boilerplate code. Even Haskell (arguably among the most strongly and insistently typed and "safe" languages) is vastly more concise than, for example, Java. One could possibly argue that Haskell (or similar functional languages, like Scala) would be "better" for the enterprise...I think it would be hard to argue that it's realistic to expect any of them to become as prevalent in the enterprise as JavaScript already is.
I think it's pretty obvious that Java (and C++) will continue to lose enterprise market share, and, to me, it's obvious that the language that will pick up most of that share will be JavaScript. Other languages will also be in the picture; Scala, for example. But, it won't put a dent in JavaScript's massive growth.