Proposal for removing self

Batista, Facundo FBatista at uniFON.com.ar
Thu Aug 26 00:04:30 CEST 2004


[Brent W. Hughes]

#- When doing object-oriented stuff, it bothers me to have to 
#- type "self" so
#- many times.  I propose that Python allow the programmer to 
#- optionally type
#- ".variable" instead of "self.variable" to mean the same 
#- thing.  Of course,
#- the interpreter would have to be more careful about 
#- detecting floats that
#- begin with just a period as in ".5".  What are your thoughts?

I type less than read, so I prefer the code to be better readable than
writable.

I'm -1 on your proposal.

.	Facundo



More information about the Python-list mailing list