Clarity vs. code reuse/generality

kj no.email at please.post
Fri Jul 3 12:20:33 EDT 2009


In <h2l51m$jps$1 at panix3.panix.com> aahz at pythoncraft.com (Aahz) writes:

>First of all, cmp() is gone in Python 3, unfortunately, so I'd avoid
>using it.

Good to know.

>Second, assuming I understand your code correctly, I'd change
>"sense" to "direction" or "order".

Thanks,

kj




More information about the Python-list mailing list