<div dir="ltr">On 30 July 2013 00:08, Rhodri James <span dir="ltr"><<a href="mailto:rhodri@wildebst.demon.co.uk" target="_blank">rhodri@wildebst.demon.co.uk</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, 29 Jul 2013 22:09:10 +0100, Steven D'Aprano <<a href="mailto:steve%2Bcomp.lang.python@pearwood.info" target="_blank">steve+comp.lang.python@<u></u>pearwood.info</a>> wrote:<br>


<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, 29 Jul 2013 15:43:49 -0400, Devyn Collier Johnson wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In Python programming, the PEP8 recommends limiting lines to a maximum<br>
of 79 characters because "There are still many devices around that are<br>
limited to 80 character lines"<br>
(<a href="http://www.python.org/dev/peps/pep-0008/#code-lay-out" target="_blank">http://www.python.org/dev/<u></u>peps/pep-0008/#code-lay-out</a>). What devices<br>
cannot handle 80 or more characters on a line?<br>
</blockquote>
<br>
The only one I can think of is actual xterms (Ctrl-Alt-Function key<br>
terminals on Unix and Linux). But I think that's actually a red-herring.<br>
At least for me, I don't care about devices with 80 character lines.<br>
(Smart phones? Or is that more likely to be 40 character lines?)<br>
<br>
I care about being able to put multiple windows side-by-side, or a single<br>
window with code in one pane and a class map at the side. I care about<br>
being able to copy and paste code into an email, or Usenet post, without<br>
it being mangled. I care about *never* having to scroll left-to-right in<br>
order to read a line.<br>
<br>
And most of all, I care about lines being short enough to read without<br>
eye strain and mental fatigue from excessive horizontal width.<br>
</blockquote>
<br></div>
+1<br>
<br>
I'm working on some shonky C code at the moment that inconsistent indentation and very long lines.  It is extremely annoying not to be able to put the original code, my "translation" and sundry utilities all side-by-side on the same screen (and it's not a particularly small screen), and having to keep flipping between them slows me down dramatically.  Long lines have no effect on the speed of the program, but they can have serious effects on the speed of the programmer.<span class="HOEnZb"> <font color="#888888"><br>

</font></span></blockquote></div><br></div><div class="gmail_extra">Then just wrap it. This is a very automatable thing for editors. There might even be a clever hard-wrap somewhere. I just tried pyformat -- that works wonders.</div>

</div>