From: Nicolas C. <war...@fr...> - 2003-10-05 18:21:18
|
> > > since the INRIA-team has decided to avoid tabulators in sources, and > > > since I also think that this is good style, I'd propose that each tab > > > be replaced by (two) ordinary spaces. Any comments? [...] > The advantage of tabs over spaces is that it allows us to avoid a flamewar > over *how many* spaces to indent. This way, just set your tabstops to > whatever you want. You can set your tabstops to 2, I can set them to 4, > we're both happy, all the code looks correct, and we're not constantly > reindenting each other's code. I agree choosing the tabstop is convenient. I personnaly also prefer "large" 4-spaces indents agains "short" 2-spaces ones. IMHO they make the code more readable. But as you might notice, the 80 chars limit will not be the same if the tabstops is 2 or 4 :-) The only point is that the "community" is somehow agreeing not to use tabs. If it would be only my choice, I would keep tabs. Another unexpected side effect of tabs is to keep the file size small :-) Nicolas Cannasse |