"Martin DeMello" <martindemello / gmail.com> writes:

> On 8/14/06, Hal Fulton <hal9000 / hypermetrics.com> wrote:
>>
>> Either (=>) or [=>] would be fine with me. I'd slightly prefer
>> the latter.
>
> Or we could use another %?{ } constructor, which are, after all, being
> reserved for future expansion.
>
>> But the big question is, what would the class be called? I dislike
>> long names such as Association or AssociativeArray or even
>> OrderedHash. (I suppose the last might be best of those.)
>
> OHash or Assoc or even Dict (though the latter at least implies an O(1) lookup).

Fun history fact:

#524<5|>lilith:~/src$ grep Dict ruby-0.49/dict.c 
...
    C_Dict = rb_define_class("Dict", C_Object);
    rb_name_class(C_Dict, rb_intern("Hash")); /* alias */
...

> m.
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org