3 ms·
What are these meta programming features if I may ask?
by spaetzleesser 4y ago
What are these meta programming features if I may ask?
- WalterBright 4y agoIntrospection combined with Compile Time Function Execution combined with the ability to compile string literals into code.
- spaetzleesser 4y agoI don't know D but it sounds like you do a lot of work at compilation which is good. I never understood why people took away the preprocessor but then forced the use of reflection which then breaks at runtime instead of breaking at compile time. When I write C# there would be so many opportunities for short preprocessor macros. Instead you either have to create a reflection monstrosity or copy/paste the same piece of code dozens of times.