On May 18, 2006, at 3:32 PM, 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? No, ruby itself directly contradicts you. The language defines only one difference between {/} and do/end, precedence. Increasing the differences will make ruby more about the computer than the programmer because you must remember what to put where to please the interpreter. Adding syntax is usually makes the language more complicated and that can only be bad. -- Eric Hodel - drbrain / segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com