3 ms·
Crockford was one of the many reasons Microsoft wanted Yahoo. ES4 is a really fun language implemented in AS3. I think ES4 was a bit bloated for javascript (ge
by drawkbox 18y ago
Crockford was one of the many reasons Microsoft wanted Yahoo. ES4 is a really fun language implemented in AS3. I think ES4 was a bit bloated for javascript (getters and setters) but I am saddened a bit that such a fun event model and language will not be avail in the browser. This just delays things longer and longer. I feel a little let down by Mozilla and Adobe.
- soundsop 18y agoI feel a little let down by Mozilla and Adobe. I don't follow. I thought it was Microsoft that torpedoed the standard. What did Mozilla and Adobe do wrong?
- astrec 18y agoThey took a small, useful and elegant language, in part crippled by horrible, horrible, ugliness (e.g. for inner functions this points to the global object), and in preference to just fixing it, Javafied it. This is not to say that ES4 should merely be ES3 spec polishing, but that ES4 describes a language not in the spirit of ES3. True, the spec ensures backwards compatibility, but in the sense of some new language that just happens to have ES3 support.
- olavk 18y agoI think "javafied" is a bit unfair. ES4 continues the tradition from the original JS to copy Java-syntax where appropriate. "class X extends Y {}" looks indeed very Java-like, however the semantics are quite different, much more akin to classes in Python. But it would be silly to choose a gratuitously different syntax just to satisfy the Java-haters.