On Tuesday, 8 March 2022 at 22:28:27 UTC, bauss wrote:
On Tuesday, 8 March 2022 at 20:12:40 UTC, BoQsc wrote:
I think D Language needs and lacks conditional compilation
condition and attribute of "exclude". The exclude keyword or
code block in the exclude, would be made sure to not be
imported by any means. Now it seems all to be only workarounds.
What D just needs is a way to specify the entry point, in which
it just defaults to the first main function found, but could be
any function given.
Yeah that would be as great. Without this, the project modules
feel non-interactive and always depending on other modules.
Dependant modules do not feel modular, if you can't bring them to
other project as a standalone module.