There is an option in Eclipse to force the use of 'this.' for members. I have that option set and don't use the prefix.
On Feb 23, 12:39 am, Bob Kerns <r...@acm.org> wrote: > 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 :)- Hide quoted text - > > - Show quoted text - -- 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