Do we really need the [[HasOwnProperty]] internal method and hasOwn trap

Allen Wirfs-Brock allen at wirfs-brock.com
Tue Nov 13 18:12:12 PST 2012


On Nov 13, 2012, at 12:39 PM, David Bruant wrote:

> Le 13/11/2012 19:28, Allen Wirfs-Brock a écrit :
>> ...
>> We've explored the security issues or proxies in depth.  Now is the time to explore the usability issues.
> Very good point.
> 
>>   Proxies are not intended for novices but there still will be thousands of developers trying to use proxies who are neither metaprogramming experts or  have a deep understand of the ES MOP.  We should try to minimize the number of footguns and other hazards that they have to face.
> Ok, this rationale sounds good to me. My original impression was that this thread was taking one inconsistency out of the blue, but I'm completely fine with what you just stated.

I just start with [[HasOwnProperty]]  because it was the simplest of the issues that I noticed.  Figured I see how it plays out before tackling some of the others

I think Tom in his discussion of fundamental and derived traps is getting closer to the core issues.

Allen



More information about the es-discuss mailing list