From: Daniel Schierbeck Date: 2006-05-19T20:44:20+09:00 Subject: Re: Rescue clauses on do/end blocks? Austin Ziegler wrote: > Blocks are blocks. Stylistically, some people prefer braces, some > people prefer do/end. There are people who will do everything they can > to make sure that they always use the same style. There are people who > use {} for blocks that return a value (and the exception handler is > *very* important there) and do/end for those that don't. There are > people who use {} for one-liners and do/end for multi-liners. > > The curly syntax is *not* just a shorthand. It has a different binding. Personally, I wouldn't mind a distinction between the two. Maybe an official convention? Daniel