Why self?

Brian Quinlan brian at sweetapp.com
Tue Jul 9 18:06:14 EDT 2002


Robb Schecter wrote:

> 2. I'm down w/ polymorphism, man!  I'm all over over it.  There's a
big
> difference between type and class, for starters, and 'type' as in
> 'implements an interface' is what I'm talking about.

There is no interface concept in Python. Some attributes/methods exist
and work as expected, others don't. And the difference between type and
class depends on the language. In Smalltalk there is no difference. In
Python the difference is disappearing.

Cheers,
Brian






More information about the Python-list mailing list