[bind10-dev] BIND 9 style guidelines
Evan Hunt
each at isc.org
Wed Sep 2 05:06:31 UTC 2009
> Here are a few points I wondered in my prototype experiments:
>
> - File suffix: .cc vs .cpp, .hh vs .h
If this were a democracy I'd vote for .cc and .h, but anything we choose
is fine with me.
> - Naming convention (especially) for class members. There seems to be
> two popular variants:
I *much* prefer lower_case_with_underscores, as I find it much easier to
read than intraWordCapitalization. This grows ever more important as
my eyes age.
Most C++ projects I've looked at in the past, though, seem to use the
interCapStyle. I had been assuming we would do the same simply because
it appears to be the standard idiom of the language we're working in.
But if it's open for discussion... I would *really* like it if we
standardized on lower_case_with_underscores.
> Evan said our previous consensus was not to use underscores.
I have no recollection of saying this. What was the context, please?
eh
More information about the bind10-dev
mailing list