To be honest, while the only obvious benefit is shorting down the number of 
braces slightly, the real benefit I experienced from practicing it in Ruby were 
a slight change in how I actually think about exception handling.

It's very hard to quantify how much benefit it really is, but I agree on that 
it will make the parsing a bit backwards. If it's a big hassle I don't think 
it's worth it, but if it can be added easily in some already-existing phase, I 
think it should be seriously considered.

Daniel Keep Wrote:
> I like the idea from a DRY perspective.  That said, it's a bit
> problematic in that you can't tell if any given block has an exception
> handler until you find the end of it and check.
> 
> As much as it looks like a nice simplification, I'm not sure this has
> enough benefit to be worth it.


Reply via email to