From: Austin Ziegler Date: 2006-05-25T01:49:37+09:00 Subject: Re: Curly brackets On 5/19/06, Daniel Schierbeck wrote: > I don't think it's pretty, either. But you seem very keen on destroying > this proposal -- you say you need a way to add rescue clauses to curly > bracket blocks, and when I present one, you just dismiss it. > > I'd like you to be more constructive here. > > 1. Do we *really* need to allow rescue clauses > on curly bracket blocks? Yes. > 2. If yes, what syntax would you propose? foo { bar rescue baz } or foo { bar rescue baz } > Personally, I don't think we need it. Curly brackets don't look like > begin/end, class/end, or def/end at all; do/end does. I've tried adding > a rescue clause to a do/end block, expecting it to work, I've never done > that with curly brackets blocks. If we're going to have it in do/end blocks, we need it in blocks. Period. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca