Need review: explicit package protection

Dejan Lekic via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 11 11:07:18 PDT 2014


> I'd call this "INVALID WON"T FIX" :) D module system is defined 
> to have strong 1-to-1 matching with file system. Any attempt to 
> circumvent that in favor of personal preferences is asking for 
> trouble and is not worth supporting.

I can only agree with this, but fact is that D allows flattened 
project structure (all modules in all packages in a single 
directory)... It should be noted that people who prefer such 
structure are on their own. I myself prefer to have a directory 
per-package, as it is IMHO more clear and organised.


More information about the Digitalmars-d mailing list