This may used to unobtrusively store in a hash some data associated with dom nodes.
On Fri, 11 Sep 2009 19:39:04 +0400, kangax <kan...@gmail.com> wrote: > > > > On Sep 11, 7:08 am, "T.J. Crowder" <t...@crowdersoftware.com> wrote: > [...] >> @Jim: >> >> > Yep, this is Java-esque but that doesn't *always* equal evil! >> >> Hardly ever! I'd say hashCode has a place. >> >> Let's step back and ask the question: What are the use cases for a >> hash keyed by non-string objects? Are they compelling? (I'm not >> saying they aren't, just saying that before running off on an idea, we >> need to ask the question.) > > I would actually like to hear about use cases too. Developing web apps > for 3 years now I haven't ever needed to use hash with arbitrary keys. > It doesn't mean such thing is not useful; I'm just failing to see how > (and where) it can be applied in practice (especially in a context of > web apps). > > [...] > > -- > kangax > > -- arty ( http://arty.name ) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---