Why the compiler dosen't enforce correct module declarations?

Bruno Medeiros brunodomedeiros+spam at com.gmail
Fri May 18 13:30:09 PDT 2007


Manfred Nowak wrote:
> Ary Manzana wrote
> 
>> Why use an alternative of the built-in version system?
> 
> The version system is not equivalent to the module naming system.
> 
> -manfred
> 

That particular usage of the module system is equivalent to using the 
versioning system. Equivalent in the sense that they're both trying to 
do conditional compilation. However the version system was specifically 
designed to do that, whereas that module system usage is an ugly hack.
(also see my reply to Daniel Keep)

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


More information about the Digitalmars-d-learn mailing list