News for hackers. Stuff that matters.
Re:My gripes with JavaScript by mrspeaker on Wednesday June 22, 2011 @09:37AM (#2683015)
I'm sure you'll be happy to know that all your gripes are de-griped in js.next (http://wiki.ecmascript.org/doku.php?id=harmony:harmony - and strawman) - and with the speed of browser upgrades they'll hopefully be here the "reasonably close" future. Hopefully.
Re:My gripes with JavaScript by fholm on Wednesday June 22, 2011 @10:18AM (#2683192)
I'm well aware of js.next/harmony/whateveryouwannacallit. Come back to me in 10 years when it's implemented everywhere and everyone that was on an old version of browser X has upgraded to one with those features.
Re:My gripes with JavaScript by olavk on Wednesday June 22, 2011 @10:30AM (#2683271)
Or use a tool that compiles js.next to lowest-common-denominator-javascript.
Re:My gripes with JavaScript by edtechdev on Wednesday June 22, 2011 @03:49PM (#2684833)
Re:My gripes with JavaScript by fholm on Wednesday June 22, 2011 @10:35AM (#2683296)
Yay a dynamic language with a compiler step.
Re:My gripes with JavaScript by olavk on Wednesday June 22, 2011 @10:46AM (#2683335)
Python has a compiler step - source files (.py) are compiled into bytecode (.pyc) files. It just happens transparently. Doesn't make the language less dynamic IMHO.
Re:My gripes with JavaScript by true_religion on Wednesday June 22, 2011 @02:53PM (#2684527)
Smalltalk, one of the seminal, dynamic languages has a compilation step. It happens inline everytime you save a method.

Lisp can both be dynamic and compiled.

Many dynamic languages---Python, Ruby, et all--on JVM or CLR have a compilation step. They compile to byte code that the VM then runs.

Re:My gripes with JavaScript by georgemcbay on Thursday June 23, 2011 @04:23AM (#2687132)
"Hopefully" indeed -- I had a lot of hope for ECMAScript 4 back in 2007, and look how that turned out.

As with most "next gen" web browser technology (for whatever your 'current gen' may be, back to Netscape 2.0), until I see it actually shipping in a majority of browsers I will remain skeptical.