News for hackers. Stuff that matters.
Re:How to abuse a C++ compiler? by zem on Thursday March 20, 2014 @04:03PM (#7438250)
D has very good support for this. here's a quick string templating function i wrote, for instance: https://gist.github.com/martindemello/2686640

it calls a function at compile time to expand placeholders, and then compiles the generated string via the mixin() statement and carries on with the code. far more pleasant than c++.

There are no comments on this comment yet.