Would javascript and similar scripting languages benefit from being strongly typed?

Posted by cwap on Stack Overflow See other posts from Stack Overflow or by cwap
Published on 2009-08-11T23:33:06Z Indexed on 2010/03/16 15:21 UTC
Read the original article Hit count: 227

Just had my mind going today. I spent some time in IE debug mode, browsing the web as usual, and oh boy do I see many errors :) Most of these errors are because some value are of a different type than expected (at least as far as I interpret the error messages).

What are the reasons JavaScript and similar scripting languages aren't strongly typed? Is it just to make the languages "easier" to understand and more accessable, or is the lack of a "compile-time" the real problem?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about scripting-languages