Algorithms as objects?

Kreso kkNOWAYumer at donoevil.com
Thu Sep 3 13:14:17 EDT 2009


Bearophile <bearophileHUGS at 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.



More information about the Python-list mailing list