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.
[ Parent
| on HN ]
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.
Or use a tool that compiles js.next to lowest-common-denominator-javascript.
Yay a dynamic language with a compiler step.
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.