Ian Bicking: the old part of his blog

Comment

Whitespacedoesn'tmatterwhatinheckareyoutalkingabout.

I hate to be a devil advocate :p But, here is a Python example where taking away some white space may make things easier:

>>> 3*2**3 + 4*(5**2-2**2) # grouped spaces
108
>>> A=3*2**3
>>> A
24
>>> B=4*(5**2-2**2)
>>> B
84
>>> A+B
108


My point here is that one needs to clearly see the left and right side. Otherwise, what really is meant may be obscure or lost in the details:


>>> 3*2**3+4*(5**2-2**2) # no space
108
>>> 3 * 2 ** 3 + 4 * ( 5 ** 2 - 2 ** 2 ) # lots o space
108


Of course, the cause and effect will affect the outcome. Then again, maybe being even more verbose may help some also:


>>> ( 3 * 2 ** 3 ) + ( 4 * ( 5 ** 2 - 2 ** 2 ) )


So, I agree, for the most part.

Comment on Code Pickiness
by Brian Ray