A matter of propiety
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jan 27 08:45:14 PST 2017
On Friday, 27 January 2017 at 16:30:14 UTC, WhatMeWorry wrote:
> But it seems like I'm committing some great sin by doing this.
meh i see no problem with it.
> Just another quick question: is the module that holds the
> main() function just the
> same as any other module?
It is the same as any other module. I say it should be named the
same as any other (including a two-part name, `module foo;` is
likely to clash if you ever do two libraries, i almost always use
`module myproject.foo;` instead), but all the exact same rules
apply.
More information about the Digitalmars-d-learn
mailing list