From: dblack@... Date: 2003-07-19T20:39:47+09:00 Subject: Re: chaining comparisons Hi -- On Sat, 19 Jul 2003, Kurt M. Dresner wrote: > When I learned python I was overjoyed that I could evaluate 1 < 2 < 3 > and get "true". I just realized that you can't do that in Ruby. Is > there a reason why? Is it good? I know I can use "between", but > still... Matz's reason, in rejecting this in RCR form, was, "It's hard to define semantics of chain comparison in "OO" way. Use ranges instead." (See .) David -- David Alan Black home: dblack@superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav