[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, naruse@airemix.jp <naruse@airemix.jp> 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