Why should file names intended for executables be valid identifiers?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 17 08:14:19 PST 2015


On Thursday, 17 December 2015 at 04:26:04 UTC, Shriramana Sharma 
wrote:
> Sorry but I don't get this fully: can't a hyphen be part of 
> such mangled names?

I'm actually not sure but I have never seen it done.

> And any reflection of the module name would also be just a 
> string which need not be a valid identifier no?

Reflection would be a string, but it is often mixed in and the 
other uses like name disambiguation is still identifier.


More information about the Digitalmars-d-learn mailing list