Does D have too many features?
SomeDude
lovelydear at mailmetrash.com
Sun Apr 29 14:23:39 PDT 2012
On Sunday, 29 April 2012 at 19:19:51 UTC, David Nadlinger wrote:
> On Sunday, 29 April 2012 at 12:26:13 UTC, David Nadlinger wrote:
> What I forgot to mention:
> - VersionCondition: Just provide a mechanism to map command
> line flags to constants, probably in a magic »version«
> namespace, and use static if (e.g. »version (Foo)« ->
> »static if (version.Foo)«, »version (unittest)« -> »static
> if (unittest)«).
>
It sounds indeed nice, but I prefer convention over
configuration. Experience has shown that it makes things simpler.
More information about the Digitalmars-d
mailing list