Announcement: Obfuscated Python competition

Terry Reedy tjreedy at udel.edu
Mon May 19 17:47:11 EDT 2003


"Graham Nicholls" <graham at rockcons.co.uk> wrote in message
news:zfaya.344$Ag1.275 at news-binary.blueyonder.co.uk...
> I reckon its possible to write bad code in any language.  So if it
hasn't
> been done already, how about an obfuscated Python competition.

I don't know that there has been a formal contest, but I have already
seen prize-winning code.  The main trick is to turn multiple lines of
nice, readable code into one gigantic lambda expression with nested
lambdas with nested lambas ... as deep as needed.

> Prize : One of my Perl books - lets see: "Perl in a Nuthouse" looks
good.

No thanks ;-)

Terry J. Reedy






More information about the Python-list mailing list