Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.063 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'variables': 0.07; 'string': 0.09; 'dan': 0.09; 'python': 0.11; 'culturally': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'names?': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'seems': 0.21; 'header:User-Agent:1': 0.23; "haven't": 0.24; 'sort': 0.25; 'long,': 0.26; 'header:In-Reply-To:1': 0.27; 'direction': 0.30; "i'm": 0.30; '(which': 0.31; 'code': 0.31; 'getting': 0.31; 'multiline': 0.31; 'perl': 0.31; 'anyone': 0.31; 'maybe': 0.34; 'but': 0.35; 'culture': 0.36; 'too': 0.37; 'turn': 0.37; 'list.': 0.37; 'expressed': 0.37; 'being': 0.38; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'first': 0.61; 'more': 0.64; 'temporary': 0.65; 'beautiful': 0.68; 'subject:One': 0.74; 'complex,': 0.84; 'expressive': 0.84; 'yours': 0.88; 'trend': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Fri, 06 Dec 2013 17:10:11 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12 MIME-Version: 1.0 To: python-list@python.org Subject: Re: One liners References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386375040 news.xs4all.nl 2883 [2001:888:2000:d::a6]:46219 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61198 On 12/06/2013 04:54 PM, Dan Stromberg wrote: > 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. I have not seen any evidence that this trend of yours is widespread. The Python code I come across seems pretty normal to me. Expressive and readable. Haven't seen any attempt to turn Python into Perl or that sort of thing. And I don't see that culture expressed on the list. Maybe I'm just blind...