@[email protected] to Programmer [email protected] • 1 year agoI personally use tabsprogramming.devimagemessage-square25fedilinkarrow-up178arrow-down11
arrow-up177arrow-down1imageI personally use tabsprogramming.dev@[email protected] to Programmer [email protected] • 1 year agomessage-square25fedilink
minus-square@[email protected]linkfedilink2•edit-21 year ago3 spaces is best because if the universe is chaos then everything in it should reflect that.
minus-squaresoundasleeplinkfedilink8•1 year agoI’m more about increasing spaces exponentially to really highlight how important each line is public boolean function() { if (method()) { if (otherMethod()) { for (Object o : list()) { if (o.isAlive()) { return false; } } } } return true; }
minus-square@[email protected]linkfedilink2•1 year agoUse the Fibonacci series so you can smugly claim your code incorporates the gold ratio
minus-squareWalrusDragonOnABikelinkfedilink1•1 year agoBut what if the chaos plays favorites and favors tabs?
minus-square@[email protected]linkfedilink2•1 year agoFor line in lines: if char[0] == SPACE { del char[0]} else if char[0] == TAB {char[0] = SPACE*3} save(‘overwrite’)
3 spaces is best because if the universe is chaos then everything in it should reflect that.
I’m more about increasing spaces exponentially to really highlight how important each line is
public boolean function() { if (method()) { if (otherMethod()) { for (Object o : list()) { if (o.isAlive()) { return false; } } } } return true; }
Use the Fibonacci series so you can smugly claim your code incorporates the gold ratio
Good, good. The less consistency the better.
But what if the chaos plays favorites and favors tabs?
For line in lines: if char[0] == SPACE { del char[0]} else if char[0] == TAB {char[0] = SPACE*3}
save(‘overwrite’)