Boolean tests [was Re: Attack a sacred Python Cow]

Carl Banks pavlovevidence at gmail.com
Tue Jul 29 19:30:43 CEST 2008


On Jul 29, 5:15 am, Heiko Wundram <modeln... at modelnine.org> wrote:
> I can't dig up a simple example from code I wrote quickly, but because of the
> fact that explicit comparisons always hamper polymorphism

I'm not going to take your word for it.  Do you have code that
demonstrates how "if x" improves polymorphism relative to simple
explicit tests?


Carl Banks



More information about the Python-list mailing list