Re: __init__() not called automatically
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: __init__() not called automatically

From: Jeremy Sanders <jeremy+plusnews@jeremysanders.net>
Date: Thu May 26 2005 - 12:40:18 CEST

On Wed, 25 May 2005 21:31:57 -0700, Sriek wrote:

> Similarly, why do we have to explicitly use the 'self' keyword everytime?

I didn't like that when starting Python. Now when I look back at C++ code,
I find it very hard to work out which variables and methods and members,
and which are not, unless the author used a clear naming convention.

Jeremy
Received on Thu Sep 29 16:14:13 2005