Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49492

Re: Stupid ways to spell simple code

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.097
X-Spam-Evidence '*H*': 0.82; '*S*': 0.01; 'subject:code': 0.07; 'correct,': 0.09; 'yeah,': 0.09; 'python': 0.11; '1:08': 0.16; 'chris,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'obfuscated,': 0.16; 'pep8': 0.16; 'pity': 0.16; 'stdlib.': 0.16; 'subject:simple': 0.16; 'wrote:': 0.18; 'example': 0.22; 'sorry,': 0.24; 'mon,': 0.24; 'read,': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'johnson': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'whilst': 0.36; 'too': 0.37; 'being': 0.38; 'sometimes': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'challenge': 0.61; 'skip:* 10': 0.61; 'further': 0.61; 'times': 0.62; 'offering': 0.63; 'late.': 0.68; 'nobody': 0.68; 'jul': 0.74; 'zen': 0.84; 'dare': 0.91; 'inefficient': 0.91; 'imagine': 0.93; 'rick': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=T54w8a6iODwNofkzXaUrLVT+xkig2JomQ79qMBmkKro=; b=JGBX/L774tLfSzxEFg151swj2ndOYW+jZJJeWU4RrRPbVTHQFThwgMKpBLCkjLQ4Vm ieRpUNEgjQZH7jt23ZbUK64G3e+dpgqumCGUcmMRUSyl24IzKcUqsExztW8RrhsbZbXn cIPg0ZIuH/Rx3UPqL2PjE2VyuFZ83KQ3DkbNnveJY/tiM/6Fs45Q3tnm8QT5kpGhXUev 5ZSKNfekefRtZVji9qLugnOO533y6Dioztxg2GjInAwOKS6tP711vtACOMUq8R0A2x/G PA90zPlEGcbSiNjjzNst7auAEV7fzd0PlPXxyJd0TKOUTx2W+uwKaNfrPcV7lyp0FcoI T9/A==
MIME-Version 1.0
X-Received by 10.52.16.105 with SMTP id f9mr7031467vdd.28.1372605620054; Sun, 30 Jun 2013 08:20:20 -0700 (PDT)
In-Reply-To <CAN1F8qWdD7HJBrWsaetsTuN2zhJqwLrq=W2CmOMiC4KmovJ8sA@mail.gmail.com>
References <mailman.4021.1372572404.3114.python-list@python.org> <cd9a09fe-9d1a-441c-bc47-473674e8ac71@googlegroups.com> <CAN1F8qWdD7HJBrWsaetsTuN2zhJqwLrq=W2CmOMiC4KmovJ8sA@mail.gmail.com>
Date Mon, 1 Jul 2013 01:20:19 +1000
Subject Re: Stupid ways to spell simple code
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4030.1372605628.3114.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1372605628 news.xs4all.nl 15959 [2001:888:2000:d::a6]:56023
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:49492

Show key headers only | View raw


On Mon, Jul 1, 2013 at 1:08 AM, Joshua Landau
<joshua.landau.ws@gmail.com> wrote:
> On 30 June 2013 15:58, Rick Johnson <rantingrickjohnson@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Stupid ways to spell simple code Chris Angelico <rosuav@gmail.com> - 2013-06-30 16:06 +1000
  Re: Stupid ways to spell simple code Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-30 07:58 -0700
    Re: Stupid ways to spell simple code Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-30 16:08 +0100
    Re: Stupid ways to spell simple code Chris Angelico <rosuav@gmail.com> - 2013-07-01 01:20 +1000
    Re: Stupid ways to spell simple code Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-30 11:26 -0600
  Re: Stupid ways to spell simple code Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-30 17:36 +0000
    Re: Stupid ways to spell simple code Roy Smith <roy@panix.com> - 2013-06-30 13:44 -0400
    Re: Stupid ways to spell simple code Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-30 22:52 +0100
  Re: Stupid ways to spell simple code Neil Cerutti <neilc@norwich.edu> - 2013-07-01 12:59 +0000
    Re: Stupid ways to spell simple code Chris Angelico <rosuav@gmail.com> - 2013-07-01 23:14 +1000
    Re: Stupid ways to spell simple code Joshua Landau <joshua.landau.ws@gmail.com> - 2013-07-01 17:30 +0100
    Re: Stupid ways to spell simple code Marcin Szamotulski <mszamot@gmail.com> - 2013-07-01 20:36 +0100
      Re: Stupid ways to spell simple code Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-01 22:09 +0000
        Re: Stupid ways to spell simple code 88888 Dihedral <dihedral88888@gmail.com> - 2013-07-01 21:16 -0700
        Re: Stupid ways to spell simple code Marcin Szamotulski <mszamot@gmail.com> - 2013-07-02 07:22 +0100
    Re: Stupid ways to spell simple code Chris Angelico <rosuav@gmail.com> - 2013-07-02 02:32 +1000
  Re: Stupid ways to spell simple code Russel Walker <russ.pobox@gmail.com> - 2013-07-02 00:33 -0700

csiph-web