Many questions

bearophile bearophileHUGS at lycos.com
Mon May 4 16:10:18 PDT 2009


Yigal Chripun:
> the downside to the current system is when you have one class in a file, 
> the full name of it will be SomeClass.SomeClass instead of just 
> SomeClass. (because of the redundancy of the module decl. in this case)

Generally if classes or functions are small, you put more than one of them (related ones) in the same module.


> Ideally, I'd want at most one public root entity per file.

That's the Java ideal world.

Bye,
bearophile



More information about the Digitalmars-d mailing list