News for hackers. Stuff that matters.
Re:PEP 8 Modernisation by antihero on Thursday August 01, 2013 @02:03PM (#6142150)
I couldn't figure out if they have that dumb indentation rule.

https://gist.github.com/radiosilence/6133713

I mean how can anyone say that the former is better than the latter?

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.
Re:PEP 8 Modernisation by gsnedders on Thursday August 01, 2013 @02:26PM (#6142332)
Either is acceptable per PEP 8.
Re:PEP 8 Modernisation by antihero on Thursday August 01, 2013 @03:08PM (#6142696)
Oh, neat! I don't have to feel dirty now.
Re:PEP 8 Modernisation by bobisme on Thursday August 01, 2013 @02:28PM (#6142348)
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.
Re:PEP 8 Modernisation by tcdent on Thursday August 01, 2013 @03:54PM (#6143035)
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.