Tuesday, October 21, 2008

Javascript: the good parts - CTO Yahoo

The worlds most misunderstood programming language

complaints:

"JS is not a language that I know"
"The browser programming experience is awful"
"It's not fast enough"
"the language is just a pile of mistakes"

Under the surface, JS actually has good parts

Java as a client language was a disaster but JS is still being used

Bad Parts:
  • global variables
  • + adds and concatenates
  • Semicolon insertion
  • typeof
  • with and eval
  • phony arrays
  • == and !=
  • false, null, undefined, NaN

No comments: