Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-22 Thread Romain Guy
I myself am not fond of prefixes, especially since languages like Java already have this. when you need to distinguish local vars vs members. Also, modern IDEs highlight fields differently from local variables. It does make sense however on a project like Android where not everybody is

[android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Christ
Hi guys, I saw many sample codes that each variable contains the 'm' prefix. I don't know what this m means. I have two-year experience in MFC. Each variable has 'm' prefix to tell you that I'm the one variable of MFC component. (m stands for MFC). So...can anybody answer me this question?

Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Romain Guy
It stands for member. I believe the use of an m prefix with MFC has nothing to do with the name MFC either, but rather to identify variables that are class members as opposed to local variables for instance. On Sun, Feb 21, 2010 at 9:52 PM, Christ wutie...@gmail.com wrote: Hi guys, I saw many

Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Frank Weiss
I'm one of those guys who think scope prefixes, like m, are more trouble than they're worth. The fact that you had to explain it to a newbie makes me smile. On Sun, Feb 21, 2010 at 10:04 PM, Romain Guy romain...@android.com wrote: It stands for member. I believe the use of an m prefix with MFC

Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Dianne Hackborn
On Sun, Feb 21, 2010 at 10:20 PM, Frank Weiss fewe...@gmail.com wrote: I'm one of those guys who think scope prefixes, like m, are more trouble than they're worth. The fact that you had to explain it to a newbie makes me smile. Well you probably need to explain many other things to a newbie

Re: [android-developers] What does the prefix 'm' stand for ?

2010-02-21 Thread Richard S. Hall
On 2/22/10 2:20 PM, Frank Weiss wrote: I'm one of those guys who think scope prefixes, like m, are more trouble than they're worth. The fact that you had to explain it to a newbie makes me smile. I use m_ purely so I don't have to think up different names for my method parameters and to