module keyword with curly brackets

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 1 07:45:03 PDT 2014


On Saturday, 1 November 2014 at 14:18:53 UTC, Mike wrote:
> I find this, and the fact that packages and modules map 
> directly to directories and files, to be an arbitrary 
> limitation as well.

It is not necessary but it results in elegant mapping. I wish it 
pushed harder for module == namespace concept though. Also I'd 
prefer to use "package aaa.bbb;" notation and prohibit "module 
aaa.bbb.modname;" notation but that is purist dreaming :)


More information about the Digitalmars-d mailing list