Tabs are way too much and I find code that uses them more difficult to read. When I started I used tabs, then slowly dropped my indention down to two spaces. For some reason I just like the look of
Code:
#include <iostream>
using namespace std;
int main( void )
{
int i;
for( i = 0; i < 10; ++i ) {
cout << i << endl;
i++;
}
return EXIT_SUCCESS;
}
better than
Code:
#include <iostream>
using namespace std;
int main( void )
{
int i;
for( i = 0; i < 10; ++i ) {
cout << i << endl;
i++;
}
return EXIT_SUCCESS;
}
It's all a matter of preference, i find it easier to read and type two spaces than to hit the tab key. Though MSVC++ does cause me fits when it wants to indent with tabs and I don't want to.
-Prelude