is python Object oriented??
Tino Wildenhain
tino at wildenhain.de
Thu Jan 29 06:51:55 EST 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).
Regards
Tino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20090129/8cdb9ac5/attachment-0001.bin>
More information about the Python-list
mailing list