Property descriptors as ES6 Maps

2012-10-31 Thread David Bruant
Hi, I've recently filed a spec bug [1] and given more thoughts about it that goes beyond the suggested restructuring so I'm bringing it up here. This posts ends up with an unresolved issue, but I hope a solution can be found. Let's talk about property descriptors. Currently, in the spec,

Re: Property descriptors as ES6 Maps

2012-10-31 Thread Andreas Rossberg
On 31 October 2012 10:40, David Bruant bruan...@gmail.com wrote: My bug was about making the use of objects [for property descriptors] official in the spec internals... until I realized that ES6 has maps. Can you motivate why maps would be more adequate? Frankly, I completely disagree, because

Re: Property descriptors as ES6 Maps

2012-10-31 Thread David Bruant
Le 31/10/2012 12:46, Andreas Rossberg a écrit : On 31 October 2012 10:40, David Bruant bruan...@gmail.com wrote: My bug was about making the use of objects [for property descriptors] official in the spec internals... until I realized that ES6 has maps. Can you motivate why maps would be more

Re: Property descriptors as ES6 Maps

2012-10-31 Thread Allen Wirfs-Brock
Let me summarize what I think is your concern. In ES5, property descriptor records are a specification device that is used to transport information about object properties between factored components of the ES specification. The same information can be expressed as an ES object that is