From: dblack@... Date: 2006-11-09T00:12:20+09:00 Subject: Re: Bikeshed: No more Symbol < String? Hi -- On Wed, 8 Nov 2006, Nikolai Weibull wrote: > On 11/8/06, Jonas Pfenniger wrote: >> On 08/11/06, Nikolai Weibull wrote: >> > On 11/8/06, Jonas Pfenniger wrote: >> > > Too bad, I was rejoicing to remove the need of >> > > HashWithIndifferentAccess. Couldn't a Ruby2.0 conversion team be >> > > formed to ditch backward-compatibility problems ? >> > >> > For one data structure with questionable semantics? >> >> It's one of the most used data structure with the Array I think > > Hash may well be, but HashWithIndifferentAccess is a "hack" created > for Ruby-on-Rails that unifies access through Strings and Symbols, > which is a questionable pratice and I don't think the relationship > between String and Symbol should be governed by it. I agree. It's nice that it can be done, but if Symbol is just a problem that needs to be solved, then there shouldn't be Symbol. David -- David A. Black | dblack@wobblini.net Author of "Ruby for Rails" [1] | Ruby/Rails training & consultancy [3] DABlog (DAB's Weblog) [2] | Co-director, Ruby Central, Inc. [4] [1] http://www.manning.com/black | [3] http://www.rubypowerandlight.com [2] http://dablog.rubypal.com | [4] http://www.rubycentral.org