Stupid ways to spell simple code

Chris Angelico rosuav at gmail.com
Sun Jun 30 11:20:19 EDT 2013


On Mon, Jul 1, 2013 at 1:08 AM, Joshua Landau
<joshua.landau.ws at gmail.com> wrote:
> On 30 June 2013 15:58, Rick Johnson <rantingrickjohnson at gmail.com> wrote:
>> Chris, i'm sorry, but your challenge is decades too late. If you seek amusement you need look no further than the Python stdlib. If you REALLY want to be amused, peruse the "idlelib" -- not only is the code obfuscated, it also breaks PEP8 and the PYTHON ZEN many times over.
>
> To translate: Not only is the code impossible to read, inefficient and
> unmaintainable whilst being only shallowly correct, but, *GASP* it
> sometimes *breaks* semi-arbitrary code *style* *suggestions*! How dare it!‽

Yeah, I cannot seriously imagine that the stdlib does anything like
the example I gave :) Pity nobody else is offering further examples, I
thought this might be a fun thread.

ChrisA



More information about the Python-list mailing list