Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Metaprogramming

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?

Name: Anonymous 2013-06-28 13:39

Is this possible? Did you find a mental midget online?

Name: Anonymous 2013-06-28 17:14

>>1
Alexandrescu
Shalom!

Name: Anonymous 2013-06-28 18:32

>>3
it's a greek name

Name: Anonymous 2013-06-28 19:13

>>4
Yeah. And "Minsky" is a Belorussian name.

Name: Anonymous 2013-06-28 19:40

Jews are the master race.

Name: Anonymous 2013-06-28 22:26

>>1
He sounds like religious fanatic, having no brain of his own.

And using C++ templates to generate complex code is like using brainfuck to write a web-server. Especially his crazy "factorial" example proves that - template acrobatics just makes your head hurt.

Name: Anonymous 2013-06-28 22:27

>>7
You mean ``no mind of his own'', you dumb new-atheist.

Name: Anonymous 2013-06-28 23:04

>>1
I do that all the time using aspectj.

Don't change these.
Name: Email:
Entire Thread Thread List