Getting in to metaprogramming

Hendrik van Rooyen mail at
Wed Nov 26 23:55:33 CET 2008

"Aaron Brady" <castironpi at> wrote:

>I don't know a clean, reliable way to structure a metaprogram though.
>Mine always turn out messy.


Then another thing - it strikes me that any problem that can be solved
by metaprogramming, can be solved by putting similar code into a class
and instanciating an instance.

Does anybody know if this is true?

If it is, it limits the usefulness of metaprogramming to the creation
of "stored procedures" for "later execution".

- Hendrik

More information about the Python-list mailing list