From: Austin Ziegler Date: 2006-05-19T07:51:56+09:00 Subject: Re: Rescue clauses on do/end blocks? On 5/18/06, Daniel Schierbeck wrote: > Eric Hodel wrote: > > On May 18, 2006, at 2:24 PM, Daniel Schierbeck wrote: > > > >> dblack@wobblini.net wrote: > >>> I'm not sure I get that distinction -- I mean, I understand that you > >>> do it that way, but I'm not sure there's any generally closer > >>> association between do/end and rescuing than there is between {} and > >>> rescuing. Also, they're sometimes used in the *same* places, but by > >>> different people :-) > >> Maybe it's time we make that distinction. From a syntactical point of > >> view, they're very different > > parse.y disagrees with you. > That's implementation. We ought to be able to abstract away from that, > right? Isn't Ruby about the programmer, not the computer? Yes, but as I said -- and I know you haven't seen it as I'm writing it -- Ruby treats them exactly the same except for precedence. I like it that way, personally. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca