[ruby-talk:02559] Re: 'in' vs. 'into'

From: matz@... (Yukihiro Matsumoto)
Date: 2000-04-21 15:36:47 UTC
List: ruby-talk #2559
Hi,

In message "[ruby-talk:02547] Re: 'in' vs. 'into'"
    on 00/04/21, Dave Thomas <Dave@thomases.com> writes:

|> Currently I like the `exception' function best.  But not decided
|> yet.  It came from Sather.
|
|I guess I'm wondering why you'd build something like this into the
|language, when it can be implemented in an external library, and
|therefore left up to  the individual user.

I think it's important to provide standard way to avoid '$' in
handling exceptions.

|If that's the alternative, I guess I'd rather keep using 'in'. (or =>, 
|which seems better).

  rescue SomeError in var
  rescue SomeError into var
  rescue SomeError => var

It's hard for me to decide.  Let me take some time to consider.

							matz.

In This Thread

Prev Next