2 ms·
I use code generation all the time to automate programming in C++. I define what I want (the outcome) and the code generator generates the code needed to do it.
by jnash 4y ago
I use code generation all the time to automate programming in C++. I define what I want (the outcome) and the code generator generates the code needed to do it. It works in any language not just Lisp. It IMHO is better to use Lisp style macros. Because the generated code is straightforward C++, making it easy to read for other programmers, without them having to first learn all the macros.
- mbrodersen 4y agoSame here. The advantage is that it works in any language.