From: ptkwt@... (Phil Tomson) Date: 2004-02-01T04:39:53+09:00 Subject: Re: No difference between .. and ... flip/flop operators? In article <401B6792.10204@po.cwru.edu>, Dan Doel wrote: >When constructing ranges of values (such as Fixnums), ... excludes the >end, while .. includes it. > >So: > >(1..10).each { |i| puts i } > >prints 1 - 10, while: > >(1...10).each { |i| puts i } > >prints 1 - 9. > >As far as I know, .. and ... are identical in flip-flops (which I >thought was in the Pickaxe, but I >can't find it right now, so maybe I just read it here a while ago). identical as in there is no difference in behavior between them? > >However, regarding this and your last mail, I believe Matz is >considering taking out flip-flops >in the future (in Rite, maybe?), so you may want to look into other ways >of doing stuff (if you're >worried about it running in 2.0 and beyond, that is). taking out flip-flops?! But they seem so useful in certain situations. Why get rid of them? (Matz?) Phil