Re: Several questions
Re: Several questions
- Subject: Re: Several questions
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 6 Jul 2001 17:16:32 -0700
On Friday, July 6, 2001, at 02:08 PM, Don Messerli wrote:
An instance method has access to the instance data of an instantiated
object. This is the same as a member function in C++.
A class method does not have access to any instance data since it
doesn't
belong to a particular object. There is no "self". This is the same
as a
static member function in C++.
Not quite correct. There is indeed a "self" in the context of a class
method, but "self" in this case is the Class, not an instance thereof.
-jcr
I almost had a psychic girlfriend, but she left me before we met. --
Steven Wright