From: "Brian Schröder" Date: 2005-06-10T05:11:07+09:00 Subject: Re: A little Quiz (Solution) > [snip] > [3, 3].times { |x, y| > p [x, y] > } > > instead of > > 3.times { |x| > 3.times { |y| > p [x, y] > } > } > > [snip] > I realize there are lots of inconsistences in this concept, but I really > like it generally. So, what do you think? > I like that second version better, because its clearer. It makes clear in which order you are iterating. I'd even prefer something including 0 and 2 (upto, each, for) to make clear what the boundaries are. regards, Brian > Dominik > > -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/