Rationale for Dict?

Axel Rauschmayer axel at rauschma.de
Tue Jan 8 13:01:31 PST 2013

On Jan 8, 2013, at 21:24 , Domenic Denicola <domenic at domenicdenicola.com> wrote:

> In addition to Brandon's points, it seems to me a clear win from the "say what you mean" angle.

That’s a good point. And __proto__ being just another property helps tremendously.

However, not having methods seems unfortunate. It would be nice for Dicts to look like Maps with only string keys, but with get(), set() and has() being optimized under the hood. But maybe that’s too much effort.


Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130108/be597b7a/attachment-0001.html>

More information about the es-discuss mailing list