Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Gary Byrne](https://uploads.teamtreehouse.com/production/profile-photos/613432/micro_image.jpg)
Gary Byrne
16,514 Pointsdoes naming member variable with m at beginning of it really matter?
does naming member variable with m at beginning of it really matter?
1 Answer
![Richard Lu](https://uploads.teamtreehouse.com/production/profile-photos/789132/micro_10866065_10153022614827378_7886608831407388442_o.jpg)
Richard Lu
20,185 PointsHey Gary,
The 'm' in the beginning of the member variables does not matter, it is used to make the code look more clear. Conventionally member variables are camel cased, for example:
public class AClass {
// The first word is lowercase, and then everything other word starts with a capital letter
public String theMemberVariable = "a String";
}
Additionally, the 'm' prefix is helpful and a good practice because when you're outside an IDE and don't have color coding for member variables, such as when you have your code hosted on GitHub, it's easier for someone else looking at your code to better understand it.
Gary Byrne
16,514 PointsGary Byrne
16,514 PointsThanks for your reply richard. Very helpful.:)