All this self dot is making me...

Stian Husemoen stianh at ifi.uio.no
Wed Jun 2 12:07:48 EDT 1999


Michael P. Reilly wrote:
 
> The convention is to use "self".  It was the adoption of the original
> object-oriented language (SmallTalk) in the early '70s.  Why did C++
> change it to "this"?  I don't know.. probably just to be different.

SmallTalk was _not_ the first object-oriented language. Simula
introduced OO as early as 1967... Simula uses "this".

-- 

Stian Husemoen <stianh>




More information about the Python-list mailing list