On Tue, Mar 27, 2012 at 7:22 AM, Brendan Eich <[email protected]> wrote:

> Andrea Giammarchi wrote:
>
>> One thing does not scale well in current prototype logic, what has been
>> flagged in the proto is not inherited with same descriptor per each
>> instance ( arguable if expected or not )
>>
>
> You mean when the prototype property is shadowed in the instance by a
> property of the same name created by assignment?
>
> That's true and it goes back to the dawn of time. It's not going to
> change, but as you note, ES5 provides tools other than assignment to create
> properties with non-default attributes.


At least if you stick with the class syntax and extension to overwrite
parent properties, it will remain consistent.


>
>
> /be
>
> ______________________________**_________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to