[plt-scheme] idiom for 'self'

From: hendrik at topoi.pooq.com (hendrik at topoi.pooq.com)
Date: Tue Sep 5 09:19:20 EDT 2006

On Tue, Sep 05, 2006 at 09:45:59AM +0000, Matthew Flatt wrote:
> At Mon, 04 Sep 2006 21:05:38 -0400, David Richards wrote:
> > How does a method reference its object?  'me'?  'self'?
> 
> `this'.

A conventional, but inconvenient choice dating back to C++. I believe..  
When you want to mention 'this' in comments, you run into ambiguity 
between its use as 'self' vs its use as an ordinary English word.  
'self' would have been a better choice.

Probably too late now.

-- hendrik


Posted on the users mailing list.