Peter Jones | 17 May 03:40

Re: Matz: can we have rescue/else/ensure available in all blocks?

coderrr <coderrr.contact <at> gmail.com> writes:
> find /usr/lib/ruby/gems/1.8/gems -name "*.rb" | xargs ruby findem.rb >
> the_real_world

Ah, now I know why.  I ran this on ~/ and it only showed lines in a
few gems that I happened to have lying around, but nothing in my code.

I guess it's just not an idiom that I use.  That might be because my
background, I tend to use exceptions most often for situations that
can't be recovered from.

I'm not suggesting that you do, but I know a lot of people use
exceptions as high-level flow control, which I find disturbing.

Thanks for the code searcher.

--

-- 
Peter Jones [pjones at domain below]
pmade inc. - http://pmade.com


Gmane