Hungarian Notation or What?
I've never been a great fan of this; I'd rather have longer more meaningful names such as CurrentUserCount, where you'd expect that the variable would be an int as it's a counter. It doesn't matter which language you use, so long as you are consistent. For work I try and minimize the effort needed by future developers of my code to understand it. But I'm interested in knowing- are there any other naming conventions ( not Pascal Case or camelCase which use capitalization) that you use to simplify this sort of thing?
- Link to C++ Tutorials
- Link to C Tutorials


Comments
I use an underscore at the beginning of a local variable to give it the same name as a variable that has an equivalent purpose as a variable in a higher scope.
An underscore at the beginning could also be used to designate a private variable.