nested comments

Nick Sabalausky a at a.a
Mon May 30 17:58:26 PDT 2011


"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:is1dj6$ihb$1 at digitalmars.com...
> 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.
>

Why not? I've never heard of a VCS that went around stripping out all 
comments.




More information about the Digitalmars-d-learn mailing list