reflection based on my experience so far on compile-time meta-programming in D as a novice user: the problems
mw
mingwu at gmail.com
Mon Sep 14 18:30:16 UTC 2020
On Monday, 14 September 2020 at 18:20:02 UTC, Steven
Schveighoffer wrote:
> // this would be easier with string interpolation!
> , D has far superior string manipulation capabilities.
Basically, your solution is: let's just use strings! (forget
about of all the other fancy mechanism I've listed in point (1)).
Yes, that's right: source code should just be strings.
From that point of view, C-preprocessor is conceptually at a high
level.
More information about the Digitalmars-d
mailing list