From: Chad Perrin Date: 2007-06-02T09:09:33+09:00 Subject: Re: Introducing the "it" keyword On Fri, Jun 01, 2007 at 10:45:33PM +0900, Jacob Burkhart wrote: > > return it if with:it(v+1) < 10 > > Would be translated by the interpreter into exactly the same thing as this: > > with:it(v+1) do > return it if it < 10 > end > > which is exactly the same thing as this: > > with(v+1) do |it| > return it if it < 10 > end Yes . . . I was just pointing out that, of those, the third is the only one that really seems particularly readable to me in a Ruby context. Something about with:it(v+1) just doesn't look very readable to me. It might have something to do with the lack of space separating tokens, but I'm pretty sure that's not all there is to it. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Brian K. Reid: "In computer science, we stand on each other's feet."