[Baypiggies] Python is not immune to WTF

Bryce Verdier bryceverdier at gmail.com
Thu Sep 22 19:05:24 CEST 2011



On Wed, Sep 21, 2011 at 2:01 PM, Simeon Franklin <simeonf at gmail.com> wrote:

> 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!
> -regards
> Simeon Franklin
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20110922/83988e00/attachment.html>

More information about the Baypiggies mailing list