Ian Bicking: the old part of his blog

Comment

Most of these things are oldskul whitespace rules from written language.

Sometimes of course one might want to compress code a bit, compare:
for(i=0;i<32;i++)

for(i=0; i<32; i++)

for (i = 0; i < 32; i++)
(I would prefer second, first, third)
a=4;b=5;

a=4; b=5;

a = 4; b = 5;

a = 4;
b = 5;

(I would prefer second, fourth , first, third)

Also some things make nice oneliners in Python:

class AbstracOne: pass
def reverse(a, b): return -cmp(a,b)

When there are long table definitions I prefer
[1,3,4,2,5,6,44,2,5,6,4] to
[1, 3, 4, 2, 5, 6, 44, 2, 5, 6, 4]
but it can make sense to arrange code like this:
[
1, 3, 4, 2,
5, 6, 44, 2,
5, 6, 4, 19
]
Comment on Code Pickiness
by Ìirts