with

David Herman dherman at mozilla.com
Thu Nov 17 14:09:50 PST 2011


On Nov 17, 2011, at 2:08 PM, David Herman wrote:

> On Nov 17, 2011, at 1:30 PM, Brendan Eich wrote:
> 
>> If I have code of the kind Mike Samuel showed:
>> 
>> obj
>> with ({ foo: 12 })
>> {}
>> 
>> and I migrate directly into ES-whatever with 'with' as you propose (instead of <|), then I do not get an early error.
> 
> Understood.

So I'm ready to give up, because of this issue and because of the fact of pre-ES6 and post-ES6 code co-existing indefinitely into the future (and the corresponding confusion that could ensue for reading code).

Shame, because I think it's gorgeous.

Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111117/fad2419d/attachment.html>


More information about the es-discuss mailing list