79 chars or more?

Michele Simionato michele.simionato at gmail.com
Tue Aug 17 09:59:12 CEST 2010


On Aug 17, 6:50 am, AK <andrei.... at gmail.com> wrote:
> On 08/17/2010 12:26 AM, James Mills wrote:
> By the way, the reason I asked is that we're working on a python
> tutorial and I realized that even though I'm used to 99, I wasn't sure
> if it's ok to teach that to new users or not..
>
>    -andrei

It is certainly NOT useful to teach a convention which is explicitly
discouraged in the Python guidelines (PEP 8). Having said that, I
particularly *hate* people using long lines, and I usually reindent
the code of my coworkers not following that convention.
The reason is that my Emacs is set to 79 chars and longer code looks
ugly, that I look at two-side diffs all the time, and that sometimes I
want to print on paper the code I have to work with. OTOH, I do not
see a single advantage in using long lines.

     Michele Simionato



More information about the Python-list mailing list