Name: Anonymous 2013-06-28 13:08
Please do not pay any attention to this article. It has next to nothing to do with actual metaprogramming; this is a bad tutorial on macros welded onto a scheme tutorial about runtime code generation. Neither of those are metaprogramming topics.
Metaprogramming is compile time, compiler executed code generation. This author doesn't even know what the topic that he's attempting to teach <b>is</b>
If you want to learn about template metaprogramming, turn to Alexandrescu's MODERN C++ DESIGN. That book introduced the most common current method, and gives a huge stack of examples (particularly elegant amongst them being his TYPELIST implementation.)
http://www.ibm.com/developerworks/linux/library/l-metaprog1/index.html#icomments
Have you meta/prog/ your SICP today?
Metaprogramming is compile time, compiler executed code generation. This author doesn't even know what the topic that he's attempting to teach <b>is</b>
If you want to learn about template metaprogramming, turn to Alexandrescu's MODERN C++ DESIGN. That book introduced the most common current method, and gives a huge stack of examples (particularly elegant amongst them being his TYPELIST implementation.)
http://www.ibm.com/developerworks/linux/library/l-metaprog1/index.html#icomments
Have you meta/prog/ your SICP today?