Why I love D: function parameter reification

Adam Ruppe destructionator at gmail.com
Thu Jun 9 17:50:16 UTC 2022


On Thursday, 9 June 2022 at 16:39:44 UTC, Steven Schveighoffer 
wrote:
> An update to ddoc to also parse e.g. `@ddoc(string)` as ddoc 
> comments would be fine.

Yeah, I did that for some special purposes already (it is nice to 
have your own doc generator). But

@doc(q"(

)")

is quite a bit wordier than

/++

+/

lol

> Allowing actual comments to affect the compilation of code is 
> not fine.

Oh please.


More information about the Digitalmars-d mailing list