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


Groups > comp.lang.python > #61195

One liners

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <drsalists@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.077
X-Spam-Evidence '*H*': 0.85; '*S*': 0.00; 'variables': 0.07; 'string': 0.09; 'python': 0.11; 'culturally': 0.16; 'names?': 0.16; 'to:name:python list': 0.16; 'trying': 0.19; 'long,': 0.26; 'direction': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'getting': 0.31; 'multiline': 0.31; 'perl': 0.31; 'anyone': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'too': 0.37; 'turn': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'first': 0.61; 'more': 0.64; 'temporary': 0.65; 'beautiful': 0.68; 'subject:One': 0.74; 'complex,': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=PDORBYr74YPKMBrRB7cDNWlSvY2rjEu7RGDd/yJR274=; b=u3Pc52ZpZ9roVboxsFE2aXnPYnsmUv0itivwJ4WkvmJLfrl1IDNzlZTBZYK2+E86yu x2a3Q7l9uPSD8ARgO4XwGQLrMpwBW/fSJa0Y8M6GqQowCeX9Yui3IPSuDMdbvnQZ+drg v8GikcQ+9sMXsvrF4H8zE2Qfz6GL7UgMNcHNjxVpFxQjIBeKNJk3NBn+FEHHElNnO8T0 RR0W6GR9Fa+HBKlwe83vsAQHLz7rNZrG3GYNM9YYjVKu1uiZDyZzl8KVRiS0LQqYS1my kr5OJd3+/IedpQJG02hwgBgjhxiUqbsyjkUFcqZvx0mps7z8WmZ5ufpByRRRHhiASovu 4f1g==
MIME-Version 1.0
X-Received by 10.180.188.100 with SMTP id fz4mr4625670wic.57.1386374062701; Fri, 06 Dec 2013 15:54:22 -0800 (PST)
Date Fri, 6 Dec 2013 15:54:22 -0800
Subject One liners
From Dan Stromberg <drsalists@gmail.com>
To Python List <python-list@python.org>
Content-Type multipart/alternative; boundary=001a11c3819288812504ece65d01
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3674.1386374070.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1386374070 news.xs4all.nl 2946 [2001:888:2000:d::a6]:37689
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:61195

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Does anyone else feel like Python is being dragged too far in the direction
of long, complex, multiline one-liners?  Or avoiding temporary variables
with descriptive names?  Or using regex's for everything under the sun?

What happened to using classes?  What happened to the beautiful emphasis on
readability?  What happened to debuggability (which is always harder than
writing things in the first place)?  And what happened to string methods?

I'm pleased to see Python getting more popular, but it feels like a lot of
newcomers are trying their best to turn Python into Perl or something,
culturally speaking.

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


Thread

One liners Dan Stromberg <drsalists@gmail.com> - 2013-12-06 15:54 -0800
  Re: One liners Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-07 02:07 +0000
    Re: One liners Dan Stromberg <drsalists@gmail.com> - 2013-12-06 19:20 -0800
      Re: One liners Roy Smith <roy@panix.com> - 2013-12-06 22:53 -0500
      Re: One liners Steven D'Aprano <steve@pearwood.info> - 2013-12-10 03:36 +0000
    Re: One liners Neil Cerutti <neilc@norwich.edu> - 2013-12-09 13:49 +0000
    Re: One liners Chris Angelico <rosuav@gmail.com> - 2013-12-10 00:59 +1100

csiph-web