is Python fully object oriented ?
Erik Max Francis
max at alcyone.com
Sat Jan 13 13:33:36 EST 2001
Martijn Faassen wrote:
> In C++, it's often recommended you do something along these lines:
...
> i.e. prefix members with something like 'd_' so that they can be
> easily
> distinguished from local variables and method arguments. This also
> makes writing constructors cleaner, as demonstrated.
Such things are included in coding styles fairly frequently, but
identifier prefixes are largely unnecessary in C++. See recent (make
that perennial) discussions in comp.lang.c++.moderated.
Besides, if you want to use member prefixes, you already have one that
is guaranteed to work for members and not for non-members: It's called
`this->'.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ The chicken was the egg's idea of getting more eggs.
\__/ Samuel Butler
Product's Quake III Arena Tips / http://www.bosskey.net/
Tips and tricks from the absolute beginner to the Arena Master.
More information about the Python-list
mailing list