{Weak|}{Map|Set}
John Tamplin
jat at google.com
Thu Sep 15 09:30:47 PDT 2011
On Thu, Sep 15, 2011 at 12:24 PM, Kyle Simpson <getify at gmail.com> wrote:
> Of course, if the WeakMap really was both weak-key and weak-value, then I'd
> absolutely expect the name to be WeakMap (I think "weak" in this case is a
> useful and non-trivial part of the behavior). So my complaint is not "Weak",
> but that "Weak" implies something more comprehensive than is actually the
> case. It over-promises and under-delivers, so to speak.
>
Ok, how about WeakishMap? You would find it where you expected to look, and
the name would make you read the docs to see how it is different.
Mostly joking... mostly.
--
John A. Tamplin
Software Engineer (GWT), Google
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110915/abb1100b/attachment.html>
More information about the es-discuss
mailing list