3 ms·
Introspection combined with Compile Time Function Execution combined with the ability to compile string literals into code.
by WalterBright 4y ago
Introspection 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.