[Bro-Dev] whitespace convention (tab vs. space)

Vern Paxson vern at icir.org
Wed Apr 20 18:28:20 PDT 2011


> Vern, what *is* actually the prefered way for indenting such
> continuations?

The style has been to align the argument of the second line with
those of the first, so like this:

int myClass::Method(int foo, char* bar,
<tab><tab>    int another_argument)

where if you expand those tabs, you'll find that the "int" for
"another_argument" is right below the "int" for "foo".

However, I believe we already have deviations from this.

		Vern


More information about the bro-dev mailing list