From: Eric Hodel Date: 2006-05-19T06:22:59+09:00 Subject: Re: Rescue clauses on do/end blocks? On May 18, 2006, at 12:58 PM, Daniel Schierbeck wrote: > Austin Ziegler wrote: >> The main reason that Matz has opposed it before is: >> foo { >> bar >> rescue >> baz >> } >> It does look odd, but I think people will just get used to it. > > I think it looks too odd. The do/end and the curly bracket syntaxes > are used in different places Not true. do/end and {/} are interchangeable except you may need to add () for precedence. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com