[plt-scheme] idiom for 'self'

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue Sep 5 09:56:37 EDT 2006

On Sep 5, 2006, at 9:19 AM, hendrik at topoi.pooq.com wrote:

> 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.

We noticed and keep noticing. Then again, it is much easier to  
formulate correct english phrases with 'this object' instead of the  
'the self object'.

> Probably too late now.




Posted on the users mailing list.