Rob Prime wrote:
If you only use tabs then at least the indenting will be consistent. The worst type of indentation is a mix of spaces and tabs. That's why I always tell my tools to convert new tabs to spaces.
Agreed, mixing is where the mess lies and bad indentation can throw you for a loop at times (well...15 seconds, maybe. If you've not had enough
coffee and it's a slow day).
With tabbing enforced as the only acceptable form of indentation, each developer can set the indentation size to what they prefer and not impose their choice on others. Tab indented code is also smaller (less characters) and thus more efficient to move into/out of source control and push across the network. People who use spaces are simply bloating the text file and killing the planet.
Won't they think of the polar bears?
People who insist on using spaces after being repeatedly told that tabs are the only acceptable form should, of course, be strapped to a bench and flayed until they repent their sins.
Religious war? Where?
(In reality I'm not that cut up about it, so long as the team is consistent)