Switch from perl to python?
Carl Banks
imbosol at vt.edu
Sat Dec 14 14:25:25 EST 2002
More information about the Python-list mailing list
Sat Dec 14 14:25:25 EST 2002
- Previous message (by thread): Switch from perl to python?
- Next message (by thread): Switch from perl to python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lulu of the Lotus-Eaters wrote: > Carl Banks <imbosol at vt.edu> wrote previously: > |Object orientated programming. Neither Perl nor Python had it in the > |beginning > > I don't know why this misconception gets recycled so often. I think it > might be listed in some FAQ written by a non-Python programmer. > > Say it again: Python was OO from the very first released version (and > before that)! I disagree. Of course it was all objects, but that didn't mean it supported object oriented programming. If you wanted to create your own type of object, you couldn't do it (unless you wanted to write it in C), until the class statement came along. If someone had asked, "Can I do object-oriented programming in Python?" before the class statement existed, the correct answer would have been "No." But, the fact that Python was all objects, and the object paradigm adhered to good programming and OO principles, Python was able to add support for OOP rather seamlessly. -- CARL BANKS
- Previous message (by thread): Switch from perl to python?
- Next message (by thread): Switch from perl to python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list