What kind of worm did you discover.
The C ++ Standard Library uses underscore_notation for everything because it is what the C Standard Library uses.
So, if you want your code to look consistent across the board (and don't actually use external libraries), this is the only way to go.
You will see that boost uses the same notation, because often their libraries are considered in future standards.
In addition, there are many conventions that typically use different notations to denote different types of characters. CamelCase is commonly used for custom types, such as classes and typedefs, and mixedCase for variables, in particular, to differentiate the two, but this, of course, is not a universal standard.
There is also a Hungarian notation , which further differentiates certain types of variables, although just mentioning this phrase can cause hostility from some coders.
The best answer, as a good C ++ programmer, is to accept any convention used in the code you are immersed in.
source share