From: Logan Capaldo Date: 2006-02-08T03:49:11+09:00 Subject: Re: reasons to use else inside rescue On Feb 7, 2006, at 7:10 AM, Mark Volkmann wrote: > > Thanks! All this makes sense now. > > Even though there is some value to it, I suspect that "else" inside a > "begin" is rarely used. By "rarely", I mean less that once per hundred > "begin" blocks. I suspect this is because it's not a well known > feature and ends up making the code a bit harder to understand. I > think I'd typically tend to put the "else" code inside the "begin" > block. Does anyone disagree with this? > > -- > R. Mark Volkmann > Partner, Object Computing, Inc. I feel like this is one of those features that I'll need to use maybe twice. It'll just lurk there in the back of my head until I come across a problem where using that 'else' is exactly what I'll need, and then I'll be grateful its there. I don't think it hurts anything by existing.