[Baypiggies] Python is not immune to WTF

Simeon Franklin simeonf at gmail.com
Wed Sep 21 23:01:57 CEST 2011

On Wed, Sep 21, 2011 at 1:56 PM, Lucas Wiman <lucas.wiman at gmail.com> wrote:

> The "corrected" version in the comments is quite good.  Also, you can
> replace all 15 nested for loops with one call to itertools.product, and all
> 15 if statements to one very compact line, so I'm not sure you can really
> blame Python here.

Oh I'm definitely blaming the programmer on this one! You can write ugly
code in any language - and beautiful code in most languages as well. Some
languages work with you instead of against you - that's why I love Python!

Simeon Franklin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20110921/ba86c17a/attachment.html>

More information about the Baypiggies mailing list