From: wsdngtmp@... (Sascha Doerdelmann) Date: 2004-05-12T17:58:53+09:00 Subject: Re: Proposal: Object#send(nil) -> self "Gavin Sinclair" wrote: > Instead of sending (nil) to get the object, what about sending :self or > :identity (if :self is a problematic choice of name). If you really need a method returning self, please name it #yourself. [OT: The common usage for #yourself in Smalltalk is at the end of a message cascade: ^anObject messageWithParam: param; messageWithoutParam; anotherMessageToAnObject; andSoOn: untilYouLike; yourself The ^ is a return. I've added it to indicate that anObject will be used later on. I think I've seen proposals for this kind of syntactic sugar in this group before. One of the main differences between my code in Ruby and in Smalltalk is that I use more temporary variables in Ruby. ] Cheers Sascha