[bind10-dev] position of opening curly brace for methods

Evan Hunt each at isc.org
Fri Mar 5 15:46:45 UTC 2010


> Just so I'm clear, what does it mean to drop the BIND 9 style? Do you
> mean that we always put the open curly brace on a line by itself for a
> function declaration:

BIND 9 style is to put the brace on the same line as the declaration if the
parameters are short enough that the whole thing fits on one line, and to
drop the brace down to the next line otherwise.  The current BIND 10 style
guidelines match that.

I vaguely recall this being discussed early in the week at the last
all-hands, and that someone (perhaps Michael?) was editing the style
document while we talked.  Maybe he thought everyone had agreed on
this point and not everyone had?

I like it, personally.

                                        eh




More information about the bind10-dev mailing list