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

From: matz@... (Yukihiro Matsumoto)
Date: 2000-04-21 04:11:44 UTC
List: ruby-talk #2541
Hi,

In message "[ruby-talk:02530] Re: 'in' vs. 'into'"
    on 00/04/20, Andrew Hunt <andy@Toolshed.Com> writes:

|	>  * rescue IOError into var
|	>
|	>    More descriptive than 'in'.  Introducing new reserved word, which
|	>    raise backward compatibility problem.
|
|If "into" were only recongized as a keyword in this context,
|that shouldn't create and backward compatibility problems (it may
|wreak havoc on the parser, though...)

Treating "into" special may make syntax incredibly complex though.

|	>  * exception

|I don't care for this -- the whole idea of in/into is to get away
|from the globalness of $!.  

No, it's to get away weird $ symbol.  The globalness of the variable
`$!' has never been a problem before.

							matz.

In This Thread