Proposal for removing self

Steven Bethard steven.bethard at gmail.com
Fri Aug 27 06:52:50 CEST 2004


Delaney, Timothy C (Timothy <tdelaney <at> avaya.com> writes:
> I evangelise this here (mainly for Java code these days, but close
> enough). Unfortunately, I don't seem to be able to convince anyone else
> :(

I had to work in Java over the summer, and I started using 'this.' for all 
instance variables.  Found it much easier to read my code when I went back to 
it later.  (Of course, I was prompted by Python's syntax, but the real 
motivator was reading someone else's code and having to hunt down their 
instance variables to figure out what was going on...)

Steve





More information about the Python-list mailing list