3 ms·
I'll admit, I didn't write the comment with the expectation that it would be attacked on believability, but I'll try to give a satisfactory response: The defin
by existencebox 12y ago
I'll admit, I didn't write the comment with the expectation that it would be attacked on believability, but I'll try to give a satisfactory response:
The definition of metaprogramming is "the writing of computer programs that with the ability to treat programs as their data", which #defines can certainly do, and which decorators in a slightly different sense also do. I hate to just drop Wikipedia links, but it says it far better than I could, and contains an example of using C style macros to do templated metaprogramming. (http://en.wikipedia.org/wiki/Metaprogramming http://en.wikipedia.org/wiki/Metaprogramming)