<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A taste of implicit receivers</title>
	<atom:link href="http://blog.3plus4.org/2008/09/13/a-taste-of-implicit-receivers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.3plus4.org/2008/09/13/a-taste-of-implicit-receivers/</link>
	<description>The neighbourhood of 7</description>
	<lastBuildDate>Wed, 11 Nov 2009 12:08:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: emp</title>
		<link>http://blog.3plus4.org/2008/09/13/a-taste-of-implicit-receivers/comment-page-1/#comment-1419</link>
		<dc:creator>emp</dc:creator>
		<pubDate>Tue, 16 Dec 2008 00:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.3plus4.org/?p=34#comment-1419</guid>
		<description>How about:

createDropTargetFor: session  ^ = (
	^you if: session source
		isMovingMyItem: [you createDropTargetForItemMove]
		otherwise: [you createClientSuppliedDropTargetFor: session]
)

Some benifits by introducing a #you preserved word  (which means *my sender*):
1 Objects will know who sends a message to it
2 Parts/guests will know the whole/host, the time they are being referred to 

For example, in Squeak:
DropEvent&gt;&gt;sentTo: anObject
	&quot;Dispatch the receiver into anObject&quot;
	self type == #dropEvent ifTrue:[^anObject handleDropMorph: self].

could now be:
DropEvent&gt;&gt;recieved 
        &quot;formerly known as #sentTo: anObject&quot;
	&quot;Dispatch the receiver into anObject&quot;
	self type == #dropEvent ifTrue:[^you handleDropMorph&quot;: self&quot; &quot;reciever knows sender so this is not needed anymore&quot;].</description>
		<content:encoded><![CDATA[<p>How about:</p>
<p>createDropTargetFor: session  ^ = (<br />
	^you if: session source<br />
		isMovingMyItem: [you createDropTargetForItemMove]<br />
		otherwise: [you createClientSuppliedDropTargetFor: session]<br />
)</p>
<p>Some benifits by introducing a #you preserved word  (which means *my sender*):<br />
1 Objects will know who sends a message to it<br />
2 Parts/guests will know the whole/host, the time they are being referred to </p>
<p>For example, in Squeak:<br />
DropEvent&gt;&gt;sentTo: anObject<br />
	&#8220;Dispatch the receiver into anObject&#8221;<br />
	self type == #dropEvent ifTrue:[^anObject handleDropMorph: self].</p>
<p>could now be:<br />
DropEvent&gt;&gt;recieved<br />
        &#8220;formerly known as #sentTo: anObject&#8221;<br />
	&#8220;Dispatch the receiver into anObject&#8221;<br />
	self type == #dropEvent ifTrue:[^you handleDropMorph": self" "reciever knows sender so this is not needed anymore"].</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emp</title>
		<link>http://blog.3plus4.org/2008/09/13/a-taste-of-implicit-receivers/comment-page-1/#comment-1323</link>
		<dc:creator>emp</dc:creator>
		<pubDate>Sun, 19 Oct 2008 05:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.3plus4.org/?p=34#comment-1323</guid>
		<description>Hi,

The only things I think Smalltalk might have gone wrong with syntax are:
# should have been for comments (and #.  to end comments)
while
&quot;&quot; should have been for symbol.

Now upside down :(</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The only things I think Smalltalk might have gone wrong with syntax are:<br />
# should have been for comments (and #.  to end comments)<br />
while<br />
&#8220;&#8221; should have been for symbol.</p>
<p>Now upside down :(</p>
]]></content:encoded>
	</item>
</channel>
</rss>
