[bind10-dev] Minor changes to coding style guidelines

Francis Dupont fdupont at isc.org
Mon Feb 6 15:45:07 UTC 2012


> 1. We now specify the order of headers
>    http://bind10.isc.org/wiki/CodingGuidelines#OrderingIncludeFiles

=> IMHO we should add a line explaining config.h goes first when
it is present (BTW this follows the rules but not in an obvious way)

> 2. The style for catch statements is now documented
>    http://bind10.isc.org/wiki/CodingGuidelines#CurlyBracesforCatch

=> as it is a common source of spurious warnings, I add like to get
a statement explaining the variable ("ex" in the wiki) should be present
only when used in the exception body.

Thanks

Francis Dupont <fdupont at isc.org>

PS: when these new rules will be applied to all source files?
(i.e., I prefer to synchronize my git repo after in the case I get
free time to update (and clean up) the Windows support).



More information about the bind10-dev mailing list