is python Object oriented??
tino at wildenhain.de
Thu Jan 29 12:51:55 CET 2009
Muriel de Souza Godoi wrote:
> Python offers support for object orientation, but it's not an
> object-oriented language.
> I mean, you can code a entire program in Python with no classes. So you
> use it if you want to.
> It's not like java, which you must use a class to code a Hello World,
> but Java isn't fully object-oriented, because it doesn't provide support
> for multiple inheritance and it has primitive types (multiple interfaces
> and wrappers to primitive types doesn't count :) )
> AFAIK, the unique fully object oriented languagem is Smaltalk. (maybe
> Simula?), where everything is a class, even the primitive types.
well actually except keywords, everything is an object in python too,
including of course primitive types (if you say so - practically python
does not have them).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
More information about the Python-list