On May 13, 12:07 pm, Yukihiro Matsumoto <m... / ruby-lang.org> wrote:
> Hi,
>
> In message "Re: Why was the "Symbol is a String"-idea dropped?"
>     on Sun, 13 May 2007 17:20:49 +0900, Xavier Noria <f... / hashref.com> writes:
>
> |Just wanted to point out that the original question is why Ruby core
> |changed their mind, not what people think in general about relating
> |String and Symbol. Perhaps the question could be sent to ruby-core as
> |well.
>
> We once changed Symbol as subclass of String to see how it goes, and
> met many compatibility problems.  People distinguishes Symbols and
> String far more than we expected.  So we just abandoned the idea.

That's unfortunate. IMHO it's generally bad practice to functionally
differentiate between them. But this being the official status now, I
don't see any reason to accept string hash keys for method options
anymore. It's just not worth the extra code and computation to do so.

T.