On 2010-02-06, Brian Candler <b.candler / pobox.com> wrote:
> I also detest 
> ruby 1.9's String handling which means I'm staying on 1.8; I know I'll 
> ultimately have to move to a different language entirely.

I'm stumped on this one.  Overall, I rather prefer 1.9's string model, and
wish it had been that way all along.  It makes more sense to me that
"foo"[1] == "o" than that "foo"[1] = 111.  It is a little surprising if I
think of it from a C perspective, which is certainly my native perspective,
but overall it's a cleaner answer and more consistent with string handling.
In particular, it's cleaner because it's consistent with slices of more than
one character.  :)

Or is there something else in the new String that you don't like?

-s
-- 
Copyright 2010, all wrongs reversed.  Peter Seebach / usenet-nospam / seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!