PEP8 79 char max

Wayne Werner wayne at waynewerner.com
Sat Aug 3 07:23:21 EDT 2013


On Wed, 31 Jul 2013, Joshua Landau wrote:
> 
> To explain, I tend to take the "HTML" form of alignment by wrapping:
> 
> open stuff stuff stuff close
> 
> to
> 
> open
>     stuff
>     stuff
>     stuff
> close

Depending on how much 'stuff' I have, I, for one, prefer a third:

open stuff
      stuff
      stuff
     close


Which then makes it 1) fairly easy to read, 2) fairly easy to extend.

Of course it could just be that I'm used to that style - our brains are 
wired weird.


-W


More information about the Python-list mailing list