From: Anurag Priyam Date: 2011-08-03T16:02:22+09:00 Subject: [ruby-core:38740] Re: [Ruby 1.9 - Feature #5123][Open] Alias Hash 1.9 as OrderedHash > It would be nice if the ordered Hash in Ruby 1.9 was aliased as OrderedHash. > That way people who rely on preserving the insertion order in some application (me, for example) could explicitly use OrderedHash, and developers of Ruby would be free to redefine Hash in future versions if a better implementation that a doubly-linked circular list is found. > (I read something about a possibility of using "red�black tree".) This sounds like one of those variable names with a type prefixed to it, like sequence_string, or sequence_array. They look ugly. It would have mad more sense if Ruby were ever to ship with two different Hash implementations. Besides, the aliasing can be done at the application level too. So if the Hash implementation changes tomorrow, you are free to re-alias to some other ordered hash implementation. -- Anurag Priyam http://about.me/yeban/