From: dblack@... Date: 2003-02-12T12:05:38+09:00 Subject: Re: Operator reordering, good idea? (was Re: ruby-dev summary 19457-19539) Hi -- On Wed, 12 Feb 2003, Tanaka Akira wrote: > In article , > dblack@candle.superlink.net writes: > > > Well, I would have thought this: > > > > Exception.new("a") == "a" > > > > :-) But seriously... my problem with that example being "true" is > > that it's only using Exception#to_s after doing a kind of > > right-to-left backtracking, *after* seeing that a String object is -- > > no, *was* -- needed. My instinct is to say: if you get as far as > > having sent a message to an object, it's too late to reconsider what > > that object is. > > Since Exception.new("a") == "a" never returns true, your problem is > not exist. Whoops, I must have misunderstood the thread completely. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav