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 as well.

Some prefix for member variables is very useful to avoid hiding them with
locales and making it easier to read code to understand how it can impact
state outside of its local scope.  The trouble it adds is so small (just put
an m before the member variable name) that I'd find it hard to consider it
not worth it. :}

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to