This is really a nonsense topic, but I like nonsense sometimes....
I don't really do anything to differentiate my member variables from 'guest'* variables because I'm almost always the only one who ever sees my code, but my projects are growing bigger and bigger lately and it seems like a good time to address some coding conventions.
Everywhere seems to suggest some was of differentiating these variables - which makes perfect sense - but I'm wondering why we chose to do it to the member variables... It seems to me that, conceptually, an object should be most familiar with its own member variables - they're its member variables - and it is the external ones that need to be called out.
I mean, doesn't it make more sense to say
void someFunctionToIncrementMemberNum(int g_num) { num += g_num};
Rather than
void someFunctionToIncrementMemberNum(int num) { m_num += num};
I think that if I adopt this practice, I'll be doing it this way. I appreciate that convention means that no one will ever be working with me
*guest, visitor, stranger, outsider...