3 ms·
I strongly agree with this as well - however, when I need to overhaul a huge portion of the codebase, I may end up normalizing tabs and spacing somewhat; e.g. t
by barrkel 16y ago
I strongly agree with this as well - however, when I need to overhaul a huge portion of the codebase, I may end up normalizing tabs and spacing somewhat; e.g. tabs between 'if', 'while', 'for' and '(', spaces between function / array name and '(' or '[', etc.
That is to say, I don't mind everyone being free to format code how they see fit, just don't be surprised if in rewriting or modifying it, it gets "fixed" differently.
I'm currently doing this right now at work, hence my vehemence. There's even things like this in class definitions:
int const * const FooBar // Yes, that's a tab
(Foo foo, Bar bar)
which at first glance can end up looking like instance variable declarations instead of methods.