module vs import

Lars Ivar Igesund larsivar at igesund.net
Mon Jun 9 01:46:51 PDT 2008


Yigal Chripun wrote:

> Lars Ivar Igesund wrote:
> 
> I don't see any /new/ problems of ambiguity with such a scheme. The
> compiler will just use two completely separate mechanisms - one for
> resolving physical locations (i.e. files/directories) and another for
> resolving the logical hierarchy of symbols.
> 
> maybe my saying that the current system is broken was too strong, but it
> definitely is not perfect and has issues. as the saying goes:
> "good enough is the enemy of perfect"
> I prefer to side with perfect while others may choose otherwise. I
> wonder what is Walter's position in this regard.

Personally I think implementing such a scheme would be introducing
complexity for a questionable gain - you'd rather use a tool for a major
refactoring job in any case, and not depend on language mechanics.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango


More information about the Digitalmars-d-learn mailing list