white space in expressions and argument lists

Scott David Daniels scott.daniels at acm.org
Thu Mar 2 15:12:45 EST 2006


Sybren Stuvel wrote:
> I just read the PEP where my way of alignment is under a 'NO' header.
> Too bad, since I think it can make things a lot clearer.

One reason is such code changes too much on code edits:
     foo    = 'bar'
     foobar = 42
     azimov = 3
to:
     foo       = 'bar'
     something = 42
     azimov    = 3

which makes code differences hard to read.

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list