[ruby-core:64017] Re: [ruby-trunk - Bug #10042] Deprecate postfix rescue syntax for removal in 3.0

From: Matthew Kerwin <matthew@...>
Date: 2014-07-25 22:05:25 UTC
List: ruby-core #64017
On 26/07/2014, [email protected] <[email protected]> wrote:
> Issue #10042 has been updated by Yui NARUSE.
>
>
> I sometimes use postfix rescue, and often want a new syntax to specify
> exceptions to rescue.
>

This was a feature of MOO Code, on which I cut my teeth in the 90s. It
lead me to create the 'try' gem. I would not be disappointed if the
gem was made obsolete by a new language feature.

* https://rubygems.org/gems/try
* https://github.com/phluid61/ruby-experiments/tree/master/try

-- 
  Matthew Kerwin
  http://matthew.kerwin.net.au/

In This Thread

Prev Next