Standardizing __proto__

Allen Wirfs-Brock allen at wirfs-brock.com
Fri Mar 18 17:48:54 PDT 2011


The private names proposal would private another way to avoid creating extension methods with conflicting names http://wiki.ecmascript.org/doku.php?id=strawman:private_names

On Mar 18, 2011, at 5:14 PM, Mike Shaver wrote:

> On Fri, Mar 18, 2011 at 5:11 PM, John-David Dalton
> <john.david.dalton at gmail.com> wrote:
>> Extending the Object.prototype is a compatibility nightmare
> 
> It was a compatibility nightmare when people didn't namespace, and
> when you couldn't make non-enumerable properties.  Using a namespace
> for additions to the prototype chain and using ES5's defineProperty to
> keep those additions from affecting enumeration behaviour seems like
> it overcomes those, at least to me.
> 
> Mike
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

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


More information about the es-discuss mailing list