Thread about ES6 on reddit
andrea.giammarchi at gmail.com
Mon Aug 11 13:26:25 PDT 2014
"Many times", and still does not make sense to me.
CoffeeScript and TypeScript added new things and solved others while new
ES6 syntax is simply broken not only in ES3 but in ES5 too and requires
same technique (transpiler) others used to solve many other gotchas too.
Why "we" demand the web to transpile **but** "we" don't solve problems
known since 1999 is still a mystery to me ... specially every time you end
your replies writing `1JS` ... in my opinion a meaningless utopia the
moment TC39 decided to break backward compatibility.
On Mon, Aug 11, 2014 at 7:24 PM, Brendan Eich <brendan at mozilla.org> wrote:
> Andrea Giammarchi wrote:
>> but I also agree that once decided ES7 would have broken native syntax
>> compatibility with older engines, it could have been a chance to also fix
>> all the well known gotchas of the languages because transpilers could fix
>> those too.
> We've been over this many times. Making a versioned break means opt-in
> versioning, which means now you have two big problems. You still have to
> compile to ES3 for old browsers, but that's vacuously true in any case. The
> problems of old code enduring, and intersection-compatible "any version"
> code likely predominating, don't go away.
> 1JS won for many reasons but this is the high-order-bit reason.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss