Michael Yanowitz schreef:
> Hello:
>
>I too don't like large lines. However in the following case, and
> multi-level indentations, I find it unavoidable.
>Here is one huge statement I haven't been able to split onto multiple
> lines.
> What would be the best way to split the following line
, strMessage)
Thanks in advance:
Michael Yanowitz
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
Of Ramon Diaz-Uriarte
Sent: Wednesday, December 06, 2006 5:12 PM
To: Steve Bergman
Cc: python-list@python.org
Subject: Re: About the 79 character line recommendation
On 5 Dec 2006 13:28:22 -0800, Steve Bergman <[EMAIL PROTECTED]> wrote:
(...)
>
> I'm finding 100 to be a nice balance. It forces me not to be lazy and
> allow really long lines, but allows me to format so as to make the
> meaning most clear.
>
But if you use some advanced editors (such as Emac
Steve Bergman wrote:
>
> So, I was wondering what more accomplished Python programmers thought
> about this.
I *hate* people using more than 79 chars per line! ;) They look
horrible in emacs
and horrible on print. I never found the need for longer lines. The
limit also acts
as a deterrent against
Olivier Langlois wrote:
> There was a coding standard where I worked and the intention behind this
> requirement was to make the code printer friendly. Printing code source
> with lines longer than 80 chars greatly hinder readability on paper.
>
I don't think I've ever seen Python code printed out
Hello,
for me the 80 (or 79) char border when writing code is a fundamental
rule. Being at University and having to document each project on paper,
it is a must do. i.e. I get code from fellow scolars, that have 160
chars per line, and to get that on paper is disgusting, especially in
C/C++. So pl
Olivier Langlois a écrit :
> Hi,
>
> There was a coding standard where I worked and the intention behind this
> requirement was to make the code printer friendly. Printing code source
> with lines longer than 80 chars greatly hinder readability on paper.
Try using size 10 font in place of size 12
In <[EMAIL PROTECTED]>, Steve Bergman
wrote:
> While I'm on this general topic, the guide mentions a pet peeve about
> inserting more than one space to line up the "=" in assignment
> statements. To me, lining them up, even if it requires quite a few
> extra spaces, helps readability quite a bit.
Thanks for the responses.
The point about 132 columns is good. Pretty much any printer will
handle that today, though I reserve the right to change my mind about
the utility of 17cpi print after I'm 50. Hopefully, all printers will
be at least 1200dpi by then. ;-)
---
Yes, I dislike "\" for co
Hi,
There was a coding standard where I worked and the intention behind this
requirement was to make the code printer friendly. Printing code source
with lines longer than 80 chars greatly hinder readability on paper.
Greetings,
Olivier Langlois
http://www.olivierlanglois.net
>
> I also think th
Steve Bergman wrote:
> As I study Python, I am trying to develop good, Pythonic, habits. For
> one thing, I am trying to keep Guido's the style guide in mind.
>
> And I know that it starts out saying that it should not be applied in
> an absolute fashion.
>
> However, I am finding that the 79 char
Steve Bergman wrote:
[snip]
> However, I am finding that the 79 character line prescription is not
> optimal for readability.
>
> Certainly, cutting back from the length of lines that I used to use has
> *helped* readability. But if I triy very hard to apply 79, I think
> readability suffers. If
On 5 Dec 2006 09:55:20 -0800, Steve Bergman <[EMAIL PROTECTED]> wrote:
However, I am finding that the 79 character line prescription is not
optimal for readability.
For me, 79 characters per line... would basically make my code a LOT
harder for me to read and manage.
I mean, a basic structur
Steve Bergman wrote:
> As I study Python, I am trying to develop good, Pythonic, habits. For
> one thing, I am trying to keep Guido's the style guide in mind.
>
> And I know that it starts out saying that it should not be applied in
> an absolute fashion.
>
> However, I am finding that the 79 cha
14 matches
Mail list logo