Import concerns revisited

Georg Wrede georg.wrede at nospam.org
Tue Jul 11 13:12:53 PDT 2006



John Reimer wrote:
> In article <optcf1efmv23k2f5 at nrage>, Regan Heath says...
> 
>>On Sun, 9 Jul 2006 19:15:29 +0000 (UTC), John Reimer  
>><John_member at pathlink.com> wrote:
>>
>>>In article <e8rhud$1cca$1 at digitaldaemon.com>, Deewiant says...
>>>
>>>>John Reimer wrote:
>>>>
>>>>>Also, for selective import, I think using "from" instead of "with"  
>>>>>looks much
>>>>>better.
>>>>>
>>>>
>>>>"from" is a quite common variable name though, so introducing it as a  
>>>>keyword
>>>>would probably break a lot of code.
>>>>
>>>
>>>
>>>It is?  I don't see "from" very often.  Seems like an unusual name for a
>>>variable.  Saying it will break "a lot" of code seems like an  
>>>exaggeration.
>>
>>You don't write a mail server ;)
>>
>>Regan
> 
> 
> 
> LOL!  Yes, you are right!  Touche! :D

Then again, the compiler knows that in this context "from" simply can't 
be a variable name.



More information about the Digitalmars-d mailing list