About the 79 character line recommendation

Laurent Pointal laurent.pointal at limsi.fr
Wed Dec 6 02:58:52 EST 2006


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 when printing.
Still readable, print correctly longer lines.

[ :-) but I try to keep lines under the 80 columns too :-) ]

> 
> Greetings,
> Olivier Langlois
> http://www.olivierlanglois.net
>> I also think that limiting code to 80 columns often hinders
>> readability. I personally try to limit my code to 100 columns. The end
>> result is pretty nice.
>>
>> However, I'm all for the "flat is better than nested" philosophy, even
>> when nested is under 100 columns.
>>
>> --
>> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list