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

From: matz@... (Yukihiro Matsumoto)
Date: 2000-04-21 05:58:08 UTC
List: ruby-talk #2544
Hi,

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

|> |	>  * rescue IOError into var
|
|well, if you didn't like
|
|        rescue IOError |var|

Have you noticed it would be conflict since parser can not distinguish
bitwise and operator and vertical bar surrounding variables?

|how about
|
|    rescue in var when IOError
|
|Uses existing reserved words, _and_ moves Ruby away from Perl and
|towards Cobol ;-)

Well, .. It makes me weird.  Currently I like the `exception' function
best.  But not decided yet.  It came from Sather.

							matz.

In This Thread