Re:PEP 8 Modernisation
by mattdeboard on Thursday August 01, 2013 @02:26PM
(#6142337)
What? There's no proscription against either of those. However a little common sense would go a long way in your first example. Break at spaces/hyphens/other natural break points in strings. Also the + symbols aren't necessary. String continuation is implicit inside parentheses.
Either is acceptable per PEP 8.
Oh, neat! I don't have to feel dirty now.
I always stick to 79 chars and stick to the latter method for indentation. I am completely happy with the readability of my code as a result. Thus, I'm not really happy with the new 99 char rule.
I don't think of it as a new limit at 99 chars, meaning you should switch, but that the 79 limit isn't a hard limit, just a guideline.
If you have a line that would suffer under 79 chars, let it go a little long, but no farther than 99.
https://gist.github.com/radiosilence/6133713
I mean how can anyone say that the former is better than the latter?