We need to name "EphemeronTable" (was: Do we need an experimental extension naming convention?)
Allen.Wirfs-Brock at microsoft.com
Tue Jul 6 09:51:37 PDT 2010
I think WeakMap would be a fine name.
Having make that vote, I'll also say that ObjectMap would also be a fine name. I believe that an "EphemeronTable" is almost always want a app/library developer wants when they want to make an associative mapping keyed by object identity. The exceptional case is actually the one where you don't want the key to be "weak". After all, what good is an association where nobody holds its key?
> -----Original Message-----
> From: es-discuss-bounces at mozilla.org [mailto:es-discuss-
> bounces at mozilla.org] On Behalf Of Brendan Eich
> Sent: Friday, July 02, 2010 9:58 PM
> To: David Herman
> Cc: Mark S. Miller; es-discuss at mozilla.org; Erik Arvidsson
> Subject: Re: We need to name "EphemeronTable" (was: Do we need an
> experimental extension naming convention?)
> On Jul 2, 2010, at 8:58 PM, David Herman wrote:
> >> Cool. I'm warming to WeakMap as well. Do we have any objections to
> > +1
> > I <3 WeakMap.
> The Force is strong with WeakMap! ;-)
> +1 or more
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss