[Bro-Dev] whitespace convention (tab vs. space)
Jonathan Siwek
jsiwek at ncsa.illinois.edu
Fri Mar 18 07:46:51 PDT 2011
> (Note that for code that uses tabs, mixing spaces and tabs makes sense
> in one particular case: continuations:
> <TAB><TAB> this_is_a_function (it, has, very_very_very_many,
> <TAB><TAB><SP><SP>...<SP> arguments, more_args, foo, bar);
Yeah, I agree about that.
The case I think we were talking about would be mixing leading whitespace styles. e.g. if there's a function formatted like you had with tabs, then it would be bad to mix in some more code that looks like
<SP>...<SP> this_is_another_function (it, has, very_very_very_many,
<SP><SP>.........................<SP> arguments, more_args, foo, bar);
- Jon
More information about the bro-dev
mailing list