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 <http://www.rubygarden.org/article.php?sid=286>.)


David

-- 
David Alan Black
home: dblack / superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav