Search code examples
javascriptprogramming-languages

What is Javascript missing?


Javascript is an incredible language and libraries like jQuery make it almost too easy to use.

What should the original designers of Javascript have included in the language, or what should we be pressuring them into adding to future versions?

Things I'd like to see:-

  • Some kind of compiled version of the language, so we programmers can catch more of our errors earlier, as well as providing a faster solution for browsers to consume.
  • optional strict types (eg, being able to declare a var as a float and keep it that way).

I am no expert on Javascript, so maybe these already exist, but what else should be there? Are there any killer features of other programming languages that you would love to see?


Solution

  • Read Javascript: The Good Parts from the author of JSLint, Douglas Crockford. It's really impressive, and covers the bad parts too.