On Sep 5, 2014, at 11:26 AM, Buddha Buck <blaisepas...@gmail.com> wrote:
> 
> When every method name has to be Hungarian-notated to work with
> pseudonamespaces, short namespace abbreviations make sense.
> 
> But with true namespaces, using directives, and namespace aliasing
> available in C++, I see benefits in readability to use full length names
> for namespaces (like GnuCash::Account instead of gncAccount or
> Gnc::Account. There's less likelyhood of collision with, say, a library
> written to support the General Nutrition Centers (GNC) chain of stores.
> 
> While I personally prefer snake_case to camelCase, I think that the
> idiomatic C++ tends to use camelCase.

I agree with both points.  I think the namespace name should be spelled out in 
full and camel case is more often used in C++.  I happen to prefer it, but 
perhaps that’s just because I’ve used it more.

        Mike
 
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to