Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Linux shell to python
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Emile van Sebille  
View profile  
 More options Jul 30 2012, 7:14 pm
Newsgroups: comp.lang.python
From: Emile van Sebille <em...@fenx.com>
Date: Mon, 30 Jul 2012 16:14:25 -0700
Local: Mon, Jul 30 2012 7:14 pm
Subject: Re: Linux shell to python
On 7/30/2012 3:56 PM Dan Stromberg said...

> On Mon, Jul 30, 2012 at 9:26 PM, Barry Scott <ba...@barrys-emacs.org
>     And of course you can write list comprehensions on as many lines as
>     it take to make the code maintainable.

> Sigh, and I'm also not keen on multi-line list comprehensions,
> specifically because I think they tend to make less readable code.  It
> also becomes a mess when you need to insert print statements to get some
> visibility into what's going on.

I tend to write long one-liners then convert them to loops the first
time I need to see what's going on.

Premature optimization otherwise.  :)

Emile


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.