Bug or feature?
Nathan Clegg
nathan at islanddata.com
Fri May 14 14:17:59 EDT 1999
>> Really? Because class variables are a feature found in other OO
>> languages.
>
> Python is not those langauges.
I think the idea here is not that "python should follow the example of
other languages" but that OO, as a principle, contains several concepts,
including that of class variables vs. instance variables. Both the
definition and behavior of python's class-scoped variables match those of
C++ and other languages' class variables. So...why aren't they class
variables??
----------------------------------
Nathan Clegg
nathan at islanddata.com
More information about the Python-list
mailing list