Variables in Android sources are prefixed with m, like mStream or mHeaderValueIndex. What’s the rationale behind Hungarian notation here?
Variables in Android sources are prefixed with m , like mStream or mHeaderValueIndex .
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The “m” is short for member. It’s just a way of letting you know you’re dealing with a class member variable. In other environments or programming languages, you might use an underscore prefix instead.