From: JamesBritt Date: 2002-08-11T10:45:10+09:00 Subject: RE: Style question > > On Saturday 10 August 2002 06:52 pm, Dossy wrote: > > I use this one: > > > > [1, 2, 3].each { |x| > > p x > > p x + 1 > > } > > > But I admit to changing my mind occasionally. I like having all of loop > initialization on one line. Less eye movement? :-) I think of that first line as scaffolding for the loop, and the rest as the actual work code. Allotting extra white space suggests some degree of importance, which something as pedestrian as |x| doesn't deserve. James