When a property is added to an object using a private symbol, it creates a
new kind of slot:  a private slot.  It is clear from the design of the
Proxy API that this represents a fundamentally new extension to the ES
object model.

On the very first paragraph of the CoffeeScript homepage, we read:

> Underneath all those awkward braces and semicolons,
> JavaScript has always had a gorgeous object model at
> its heart.

It seems to me that any changes or extensions to the ES object model should
be justified by well-documented application-focused use cases, clearly
illustrating the need for such a change.

I would personally like to see answers to the following questions:

- Do private slots enable applications that would otherwise be impossible?

- What are some examples of real-world applications where the runtime
security of private slots is necessary?

- In those applications, are there acceptable methods of achieving the same
results which do not rely on extending the object model?

- If GC performance is a significant motivator, then can this supposed
benefit be quantified?

{ Kevin }
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to