Is there any "standard" naming convention for member functions?
Which one should I prefer?
thisIsAMemberFu nctionName
vs
this_is_a_membe r_function_name
Although most books and eminent authors (like Herb Sutter) recommend
the first approach, I certainly feel the second leads to more readable
names. In fact the STL itself uses the second naming convention.
Why then is the first convention usually recommended?
I understand that all this is strictly a matter of personal taste, but
since most of you guys here are pros, what do you all prefer?
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.m oderated. First time posters: Do this! ]
Which one should I prefer?
thisIsAMemberFu nctionName
vs
this_is_a_membe r_function_name
Although most books and eminent authors (like Herb Sutter) recommend
the first approach, I certainly feel the second leads to more readable
names. In fact the STL itself uses the second naming convention.
Why then is the first convention usually recommended?
I understand that all this is strictly a matter of personal taste, but
since most of you guys here are pros, what do you all prefer?
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.m oderated. First time posters: Do this! ]
Comment