Import concerns revisited

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Mon Jul 10 04:11:15 PDT 2006


Kirk McDonald wrote:
> Bruno Medeiros wrote:
>> This behavior of having all project entities(names) automatically 
>> available by FQN is also how Java and C# work[*], which I think is a 
>> quite sensible approach. And perhaps this should even be the standard 
>> among D programs.
>>
>> [*] How is it in Python and Ruby? (I do not know those languages well) 
>> Or in any other language you know with such similar structured 
>> hierarchical namespacing?
>>
>>
> 
> I've reviewed Python's import rules previously:
> http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/39396
> 

How does Python determine module names, and map modules to files (or 
vice-versa)?

-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list