Import concerns revisited

Kirk McDonald kirklin.mcdonald at gmail.com
Sun Jul 9 23:59:54 PDT 2006


Deewiant wrote:
> John Reimer wrote:
> 
>>"in" seems inappropriate in this situation.  "as" perfectly correlates to a
>>renaming or aliasing action.  "in" is confusing and looks more like an action on
>>a set.
>>
> 
> 
> If you read it as "into" I think it should make sense, if you think of namespaces:
> 
> import foo.bar in foobar; // import foo.bar into the foobar namespace

Except you aren't importing it /into/ the foobar namespace, you're 
importing it /as/ the foobar namespace.

-- 
Kirk McDonald
Pyd: Wrapping Python with D
http://dsource.org/projects/pyd/wiki



More information about the Digitalmars-d mailing list