<?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: SmallTalk @ FP</title>
	<atom:link href="http://happygiraffe.net/blog/2007/04/23/smalltalk-fp/feed/" rel="self" type="application/rss+xml" />
	<link>http://happygiraffe.net/blog/2007/04/23/smalltalk-fp/</link>
	<description></description>
	<lastBuildDate>Sat, 10 Dec 2011 22:23:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Piers Cawley</title>
		<link>http://happygiraffe.net/blog/2007/04/23/smalltalk-fp/#comment-184</link>
		<dc:creator>Piers Cawley</dc:creator>
		<pubDate>Tue, 24 Apr 2007 18:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://happygiraffe.net/2007/04/23/smalltalk-fp/#comment-184</guid>
		<description>&lt;p&gt;That cascade could be indented a little more clearly:&lt;/p&gt;


&lt;div class=&quot;typocode&quot;&gt;&lt;pre&gt;&lt;code class=&quot;typocode_default &quot;&gt;    ^self basicNew
        initialize;
        setRow: aString;
        yourself.&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;You&#8217;re sending &lt;code&gt;initialize&lt;/code&gt;, &lt;code&gt;setRow:&lt;/code&gt; and &lt;code&gt;yourself&lt;/code&gt; to the restult of &lt;code&gt;self basicNew&lt;/code&gt;, and returning (&lt;code&gt;^&lt;/code&gt;) the value returned by the last message in the cascade (ie, &lt;code&gt;yourself&lt;/code&gt;).&lt;/p&gt;


	&lt;p&gt;The cascade you wrote the in the main article was sending &lt;code&gt;basicNew&lt;/code&gt;, &lt;code&gt;initialize&lt;/code&gt;, &lt;code&gt;setRow:&lt;/code&gt; and &lt;code&gt;yourself&lt;/code&gt; to &lt;code&gt;self&lt;/code&gt;, which isn&#8217;t quite what you wanted.&lt;/p&gt;


	&lt;p&gt;I&#8217;m glad you enjoyed it.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>That cascade could be indented a little more clearly:</p>
<div class="typocode">
<pre><code class="typocode_default ">    ^self basicNew
        initialize;
        setRow: aString;
        yourself.</code></pre>
</div>
<p>You&#8217;re sending <code>initialize</code>, <code>setRow:</code> and <code>yourself</code> to the restult of <code>self basicNew</code>, and returning (<code>^</code>) the value returned by the last message in the cascade (ie, <code>yourself</code>).</p>
<p>The cascade you wrote the in the main article was sending <code>basicNew</code>, <code>initialize</code>, <code>setRow:</code> and <code>yourself</code> to <code>self</code>, which isn&#8217;t quite what you wanted.</p>
<p>I&#8217;m glad you enjoyed it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

