self
Vojin Jovanovic
vjovanov at stevens-tech.edu
Tue Jun 4 12:15:22 EDT 2002
More information about the Python-list mailing list
Tue Jun 4 12:15:22 EDT 2002
- Previous message (by thread): self
- Next message (by thread): self
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have been working on a project trying to implement some advanced functionality. Now, one thing that has been a constraint for me is the concept of self. Why is it that within a class one has to use self. (or "any word". ) to refer to instance variables? Would it not be more logical to just use the name of the variable like it is for example in C++? Vin
- Previous message (by thread): self
- Next message (by thread): self
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list