On Jan 5, 4:53 am, Bjoern Schliessmann <usenet- [EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Jeroen Ruigrok van der Werven wrote: > >> self.startLoc = start > >> self.stopLoc = stop > > > Thanks! Of course it should. Old Java habits die slowly. > > That's not really a Java habit. In Java and C++, personally I like > to write > > this.startLoc = start > this.stopLoc = stop > > It makes much clearer what a field and what a "normal" variable is > in those languages.
My employer has us use the "m_" convention. I wonder why Bjarne made "this->" optional in the first place. -- http://mail.python.org/mailman/listinfo/python-list