From: coderrr Date: 2008-05-16T09:02:47+09:00 Subject: Re: Matz: can we have rescue/else/ensure available in all blocks? ------=_Part_11120_16439480.1210896165669 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey Matz, Thanks a lot for the quick reply. I agree it is possible that someone who doesn't know the syntax could potentially misinterpret these things. I think though, that this should be weighed against the benefit of adding it to the language. I assume it's your judgment that the cost outweighs the benefit on this? I of course think the opposite :) I wonder what other developers think about how easily confused these would be, and about how that weighs against the benefits? The benefits are more concise syntax (which is the thing I love most about ruby), removing 2 lines and an indentation for a lot of rescue statements Also, I would be happy if only the ability to rescue were added to all blocks but begin/end were required for else/ensure since they are less commonly used. - steve http://coderrr.wordpress.com ------=_Part_11120_16439480.1210896165669--