Why self?

Robb Shecter rs at onsitetech.com
Tue Jul 9 17:23:37 EDT 2002


Alex Martelli wrote:
>... And the reason you don't have to state that, is that it makes absolutely
> no difference whatsoever -- you can try to get any attribute (methods
> included) from any object, it either succeeds or fails (and that only
> partly depends on the object's class).

Well, I'd say that an object understanding the message I send to it, or 
being the type of object I think it is - success or failure - surely is 
a big difference!  Sort of the name of the whole game...




More information about the Python-list mailing list