A desperate lunge for on-topic-ness

Krzysztof Voss shobbo at gmail.com
Fri Oct 19 18:16:53 EDT 2012


On Thursday, October 18, 2012 12:06:43 AM UTC-6, Zero Piraeus wrote:
> :
> 
> 
> 
> Okay, so, first thing vaguely Python-related that comes to mind [so
> 
> probably not even slightly original, but then that's not really the
> 
> point]:
> 
> 
> 
> What are people's preferred strategies for dealing with lines that go
> 
> over 79 characters? A few I can think of off the bat:
> 
> 
> 
> 1. Say "screw it" and go past 79, PEP8 be damned.
> 
Once you ":set cc=79", you never want to cross it.

> 
> 
> 2. Say "screw it" and break the line using a backslash.
> 
> 
> 
> 3. Say "well, at least it's not a backslash" and break the line using
> 
> parentheses.
> 
> 
Some nice, IMHO, tips on the style can be found in:
http://google-styleguide.googlecode.com/svn/trunk/pyguide.html#Line_length


Cheers!



More information about the Python-list mailing list