I'm not fond of 'this.member'. It seems to combine the worst of both worlds -- an optional prefix that may or may not be used in different places.
Though I understand why people use it in setters and constructors to avoid manging their argument names -- real prefixes avoid that need. On Feb 22, 8:05 am, Romain Guy <romain...@android.com> wrote: > 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 necessarily using an IDE. And it's just a coding > convention :) -- 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