Bearophile <bearophileh...@lycos.com> wrote: > Please, can't you just use a bit of functional-style programming? Like > creating nested functions on the fly, etc.
I thought about it but I believe that in the future some parts of the code will be reimplemented in C/C++, so I try to keep it simple. In the end the hint to learn about "strategy pattern" led me to construct the program in the way I liked. Thanks. -- http://mail.python.org/mailman/listinfo/python-list