__traits(documentation, X)

rjframe dlang at ryanjframe.com
Wed Jan 17 17:03:25 UTC 2018


On Wed, 17 Jan 2018 11:52:40 -0500, Steven Schveighoffer wrote:

> version(DDoc) is very different. It's a command line option passed to
> the build, and affecting the build with command line options is
> expected.
> 
> This proposal has comment *contents* affecting the build. The charter of
> comments is to NOT affect code, ever. They can be used to affect other
> systems, such as the ddoc generator, ide hints, etc., but you can be
> sure (?) that comments won't change code.
> 
> I think this is an important line not to cross.

I have to agree with this. If translated documentation is the primary use 
case, I'd imagine we could find better ways to do it.


More information about the Digitalmars-d mailing list