Spaces all day. Two spaces with bracketed languages. In languages where indents have meaning, 4 spaces.
In a perfect world, we'd probably all use tabs though. Strategy changes when anyone begins using spaces though.
sorry for non-dev question buy isn't tab just 4 spaces?
reply
Tab is a special whitespace character. Space is another.
Most IDEs and dev tools defaults to replace 1 tab with 4 spaces, and not to use the tab character.
reply
So your preference for spaces is game-theoretic? You're admitting that tabs are better?
:)
reply
Between you and me, yes. ;)
reply