Getting in to metaprogramming
Hendrik van Rooyen
mail at microcorp.co.za
Wed Nov 26 17:55:33 EST 2008
"Aaron Brady" <castironpi at gmail.com> wrote:
>I don't know a clean, reliable way to structure a metaprogram though.
>Mine always turn out messy.
Yes.
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