The need to put "self" in every method
- From: "Fernando M." <fernandomirandamuro@xxxxxxxxx>
- Date: 31 May 2005 08:45:45 -0700
Hi,
i was just wondering about the need to put "self" as the first
parameter in every method a class has because, if it's always needed,
why the obligation to write it? couldn't it be implicit?
Or is it a special reason for this being this way?
Thanks.
.
- Follow-Ups:
- Re: The need to put "self" in every method
- From: Roy Smith
- Re: The need to put "self" in every method
- From: Erik Max Francis
- Re: The need to put "self" in every method
- From: Simon Brunning
- Re: The need to put "self" in every method
- From: Steven Bethard
- Re: The need to put "self" in every method
- From: John Roth
- Re: The need to put "self" in every method
- From: Steve Holden
- Re: The need to put "self" in every method
- Prev by Date: Re: change vars in place w/loop or list comprehension
- Next by Date: Re: The need to put "self" in every method
- Previous by thread: something like CPAN, PPMs?
- Next by thread: Re: The need to put "self" in every method
- Index(es):
Relevant Pages
|
|