Python questions from C/Perl/Java programmer
Andrew Kuchling
akuchlin at mems-exchange.org
Fri Sep 8 16:06:42 EDT 2000
More information about the Python-list mailing list
Fri Sep 8 16:06:42 EDT 2000
- Previous message (by thread): Python questions from C/Perl/Java programmer
- Next message (by thread): Python questions from C/Perl/Java programmer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Alex Martelli" <aleaxit at yahoo.com> writes: > Having wrestled with Perl's OO for a long while before > discovering Python, I find it hard to credit this 'inspiration' > thing, though this is not the first time I've heard it mentioned, > so I guess it must be a paraphrase from Larry Wall, or something. Correct, it is. I think the difference is that Python has actual syntax for OO operations, while Perl doesn't. The equivalent would be if Python classes worked like this: obj = {} obj['__class__'] = FTP obj['method']() ... At least that's the impression I have. --amk
- Previous message (by thread): Python questions from C/Perl/Java programmer
- Next message (by thread): Python questions from C/Perl/Java programmer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list