Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'syntax': 0.04; 'subject:code': 0.07; 'abusing': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'llama': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'programmer,': 0.16; 'simpson': 0.16; 'subject:simple': 0.16; 'wrote:': 0.18; "python's": 0.19; 'bonus': 0.22; 'header:User-Agent:1': 0.23; 'looks': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'points': 0.29; 'perl': 0.31; 'something': 0.35; 'but': 0.35; 'really': 0.36; 'charset:us-ascii': 0.36; 'so,': 0.37; 'turn': 0.37; 'sometimes': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'simple,': 0.60; 'received:124': 0.61; 'content-disposition:inline': 0.62; 'received:61': 0.74; 'life.': 0.83 X-Authority-Analysis: v=2.0 cv=BKIxXSsG c=1 sm=1 a=1iQEpHCWMlcYtmV2ID94Ew==:17 a=wom5GMh1gUkA:10 a=ZejJ2gLzA_8A:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=ZtCCktOnAAAA:8 a=zXTwXNBjOlkA:10 a=pGLkceISAAAA:8 a=8JvVRE7ZeXm4XFphr48A:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=1iQEpHCWMlcYtmV2ID94Ew==:117 Date: Sun, 30 Jun 2013 16:41:48 +1000 From: Cameron Simpson To: python-list@python.org Subject: Re: Stupid ways to spell simple code MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372584433 news.xs4all.nl 15968 [2001:888:2000:d::a6]:34144 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49482 On 30Jun2013 16:06, Chris Angelico wrote: | So, here's a challenge: Come up with something really simple, and | write an insanely complicated - yet perfectly valid - way to achieve | the same thing. Bonus points for horribly abusing Python's clean | syntax in the process. _Must_ you turn this into comp.lang.perl? Once I was JAPH... -- Cameron Simpson Yes, sometimes Perl looks like line-noise to the uninitiated, but to the seasoned Perl programmer, it looks like checksummed line-noise with a mission in life. - The Llama Book