@@new

Allen Wirfs-Brock allen at wirfs-brock.com
Wed Jun 18 11:40:27 PDT 2014


On Jun 18, 2014, at 11:18 AM, Jason Orendorff wrote:

>> If so it seems like the question of whether to keep or drop the `new super` syntax is 100% orthogonal to your proposal.
> 
> I think that's right. I assumed the use cases for `new super` must be
> something to do with how objects are constructed now, but on
> reflection I don't know what the use cases are.

It's there now mostly just for syntactic consistency.  You can say 'new this' so why wouldn't you be able to say 'new super'.  It probably has limited use cases but it is one of those things that falls out of the overall expression syntax and I think if somebody does have a use case it would be surprising that it isn't allowed.

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


More information about the es-discuss mailing list