[bind10-dev] Minor changes to coding style guidelines

Stephen Morris stephen at isc.org
Fri Feb 3 13:46:20 UTC 2012


On 03/02/2012 12:10, Shane Kerr wrote:
> 
> Hopefully I got these right. :)

The look OK although I note that:

"Tabs & Indentation"
Refers to a Subversion pre-commit hook.

"Curly Braces"
Although the example shows the "else" and "else if" blocks have
preceding and succeeding braces on a single line, it does not mandate it
- all it says is that braces must be used even for a single-line block.

"Comments"
Should say don't mix comments styles within a file unless for a very
good reason.

"Methods"
The first sentence says that "it should all be written on one line"
but the example shows the method declaration split across two lines
with the return type on a line by itself.


Stephen



More information about the bind10-dev mailing list