About Go, D module naming

Rob T rob at ucora.com
Thu Dec 20 18:06:29 PST 2012


On Friday, 21 December 2012 at 01:25:00 UTC, bearophile wrote:
> That nice article about the Go language shows that in the long 
> run and for larger projects a little bit more strictness is a 
> better decision. Think having a large D project with 2000 or 
> 20000 modules, where module names are randomly different from 
> their file names.
>
> If that naming flexibility Walter talks about is so essential, 
> then I suggest to introduce a special way to get it without 
> allowing in the general case module names to differ from their 
> file names.
>
> Bye,
> bearophile

I've not yet ever thought about naming a module different than 
the file name. I suppose such a thing can come in handy but I'm 
not sure how as it would make finding your modules more difficult 
as was stated. I wonder if anyone does rename their modules 
differently than the files?

--rt


More information about the Digitalmars-d mailing list