On Tue, Mar 20, 2012 at 3:34 PM, Rick Waldron <[email protected]>wrote:
> Another option here would be:
>>
>> class Snake extends Animal {
>> // Using "new" ; )
>> new(name) : super(name) {}
>> };
>>
>>
> This could be visually mistaken for an object literal.
>
>
Did I mention controversy? :) Also - it breaks the nice overlap with object
literal syntax (even with extensions). Right now we have a nice restriction
that means we could technically go either way with the class body. I think
that's probably the easiest way to get this through.
- Russ
> Rick
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss