Do I always have to write "self." ?
Samuel A. Falvo II
kc5tja at garnet.armored.net
Sun Apr 30 09:03:12 EDT 2000
In article <B531EC9B.57C1%abrahams at mediaone.net>, Dave Abrahams wrote:
>Alternatively, if you're writing a large program with many abstractions and
>think lots of other people will have to read it steer clear of Hungarian
>Notation in either form ;)
I disagree.
>coding in Python. Who cares if it's a dict or a UserDict, or some other
>object which models the appropriate mapping semantics?
If it's a dict, or if it's a UserDict, or if it's anything else that exports
the dict interface, then it's perfectly valid to name a parameter
dictWhatever. I fail to see what's wrong with this concept.
--
KC5TJA/6, DM13, QRP-L #1447
Samuel A. Falvo II
Oceanside, CA
More information about the Python-list
mailing list