From: Jim Freeze Date: 2002-07-31T13:53:20+09:00 Subject: Re: Style question On Tue, Jul 30, 2002 at 11:19:52PM +0900, Michael Campbell wrote: > Is there an accepted standard as to when to use {} vs do/end? > I personally like the {} for the simple reason that it is easy to test for matching pairs in vi. eg [1,2,3].each { |x| do something... } To me this is easier to debug and looks as elegant as [1,2,3].each do |x| do something... end $0.02 -- Jim Freeze If only I had something clever to say for my comment... ~