<?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: Closures</title>
	<atom:link href="http://rel.me/2007/12/28/closures/feed/" rel="self" type="application/rss+xml" />
	<link>http://rel.me/2007/12/28/closures/</link>
	<description>programming, objective-c, cocoa, iphone, c</description>
	<lastBuildDate>Sun, 04 Sep 2011 09:27:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Nick</title>
		<link>http://rel.me/2007/12/28/closures/comment-page-1/#comment-321</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 10 Apr 2010 06:35:34 +0000</pubDate>
		<guid isPermaLink="false">/2007/12/28/closures#comment-321</guid>
		<description>Or in C# with Linq:

int sum = intList.Aggregate((a, b) =&gt; a + b);</description>
		<content:encoded><![CDATA[<p>Or in C# with Linq:</p>
<p>int sum = intList.Aggregate((a, b) =&gt; a + b);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Kuhnert</title>
		<link>http://rel.me/2007/12/28/closures/comment-page-1/#comment-6</link>
		<dc:creator>Jesse Kuhnert</dc:creator>
		<pubDate>Fri, 28 Dec 2007 01:36:00 +0000</pubDate>
		<guid isPermaLink="false">/2007/12/28/closures#comment-6</guid>
		<description>Nice examples,

I would note that with ecmascript your example would be something like:

&lt;code&gt;
var array = [ 1, 2, 3 ];
reduce(array, function(n1, n2){ return n1 + n2; });
&lt;/code&gt;

but maybe the strong typing will make others feel better.</description>
		<content:encoded><![CDATA[<p>Nice examples,</p>
<p>I would note that with ecmascript your example would be something like:</p>
<p>&lt;code&gt;<br />
var array = [ 1, 2, 3 ];<br />
reduce(array, function(n1, n2){ return n1 + n2; });<br />
&lt;/code&gt;</p>
<p>but maybe the strong typing will make others feel better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howard Lovatt</title>
		<link>http://rel.me/2007/12/28/closures/comment-page-1/#comment-7</link>
		<dc:creator>Howard Lovatt</dc:creator>
		<pubDate>Fri, 28 Dec 2007 01:36:00 +0000</pubDate>
		<guid isPermaLink="false">/2007/12/28/closures#comment-7</guid>
		<description>I have proposed an alternative closures proposal C3S:

http://www.artima.com/weblogs/viewpost.jsp?thread=182412

Your examples in C3S are:

final list = ArrayList.new( 1, 2, 3 );
reduce list, method( x1, x2 ) { x1 + x2 };

with lock, method { out.println &quot;Hello&quot; };

with File.open( &quot;foo.txt&quot;, &quot;w&quot; ), method( file ) { doSomething };</description>
		<content:encoded><![CDATA[<p>I have proposed an alternative closures proposal C3S:</p>
<p><a href="http://www.artima.com/weblogs/viewpost.jsp?thread=182412" rel="nofollow">http://www.artima.com/weblogs/viewpost.jsp?thread=182412</a></p>
<p>Your examples in C3S are:</p>
<p>final list = ArrayList.new( 1, 2, 3 );<br />
reduce list, method( x1, x2 ) { x1 + x2 };</p>
<p>with lock, method { out.println &quot;Hello&quot; };</p>
<p>with File.open( &quot;foo.txt&quot;, &quot;w&quot; ), method( file ) { doSomething };</p>
]]></content:encoded>
	</item>
</channel>
</rss>

