white space in expressions and argument lists
John Salerno
johnjsal at NOSPAMgmail.com
Thu Mar 2 11:00:06 EST 2006
Sybren Stuvel wrote:
> John Salerno enlightened us with:
>> To me, the space makes it nicer and more readable, but I was
>> surprised to read in Guido's blog that he thinks 1+2 should be the
>> normal way to write it. What does everyone else think?
>
> I usually write 1 + 2 and func(a, b). Sometimes I even use more spaces
> to align stuff:
>
> foo = 'bar'
> foobar = 42
> azimov = 3
>
> Sybren
Guido listed a few rules that he'd like to see implemented in 2.5, and
one of them was no more than one consecutive white space. I don't know
how realistic some of those suggestions are, but they seem to be getting
a little to restrictive.
More information about the Python-list
mailing list