nested comments

bearophile bearophileHUGS at lycos.com
Mon May 30 17:43:18 PDT 2011


Jesse Phillips:

> The purpose is commenting out code, but note that there is also version(none) { } which is never compiled in.

version(none) {} is probably the official way to comment out code.
And if you use a versioning system to keep your code, then commenting out code is not a so wise thing to do.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list