<?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: Blocks: Not Just Twisted Loops/Iterators, part 1</title>
	<atom:link href="http://www.learnruby.com/blog/2008/08/24/blocks-not-just-twisted-loopsiterators-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learnruby.com/blog/2008/08/24/blocks-not-just-twisted-loopsiterators-part-1/</link>
	<description>reflections on Ruby, Learning, etc.</description>
	<lastBuildDate>Fri, 24 Oct 2008 17:29:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: links for 2008-08-31 &#171; Mike Does Tech</title>
		<link>http://www.learnruby.com/blog/2008/08/24/blocks-not-just-twisted-loopsiterators-part-1/comment-page-1/#comment-5</link>
		<dc:creator>links for 2008-08-31 &#171; Mike Does Tech</dc:creator>
		<pubDate>Sun, 31 Aug 2008 16:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnruby.com/blog/?p=16#comment-5</guid>
		<description>[...] metaclass » Blocks: Not Just Twisted Loops/Iterators, part 1 [...]</description>
		<content:encoded><![CDATA[<div style="color: #bb0000;">
<p>[...] metaclass » Blocks: Not Just Twisted Loops/Iterators, part 1 [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thom Parkin</title>
		<link>http://www.learnruby.com/blog/2008/08/24/blocks-not-just-twisted-loopsiterators-part-1/comment-page-1/#comment-4</link>
		<dc:creator>Thom Parkin</dc:creator>
		<pubDate>Tue, 26 Aug 2008 19:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnruby.com/blog/?p=16#comment-4</guid>
		<description>There is a third point that becomes apparent with these examples (and one that is most compelling for me):
The ruby code reads in a very &#039;natural&#039; way.

Excellent examples.  I have bookmarked this blog in anticipation of the remainder of the series!</description>
		<content:encoded><![CDATA[<p>There is a third point that becomes apparent with these examples (and one that is most compelling for me):<br />
The ruby code reads in a very &#8216;natural&#8217; way.</p>
<p>Excellent examples.  I have bookmarked this blog in anticipation of the remainder of the series!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.learnruby.com/blog/2008/08/24/blocks-not-just-twisted-loopsiterators-part-1/comment-page-1/#comment-3</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 25 Aug 2008 14:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnruby.com/blog/?p=16#comment-3</guid>
		<description>Thanks; that&#039;s a good point, Ed.  In fact I could have condensed my version to a single line and avoided the intermediate variable, although it would have been a little longer and probably a little less clear.

I did want to use the same internal logic in both languages, though, so the differences would highlight blocks vs. alternative constructs in other languages.</description>
		<content:encoded><![CDATA[<p>Thanks; that&#8217;s a good point, Ed.  In fact I could have condensed my version to a single line and avoided the intermediate variable, although it would have been a little longer and probably a little less clear.</p>
<p>I did want to use the same internal logic in both languages, though, so the differences would highlight blocks vs. alternative constructs in other languages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Spencer</title>
		<link>http://www.learnruby.com/blog/2008/08/24/blocks-not-just-twisted-loopsiterators-part-1/comment-page-1/#comment-2</link>
		<dc:creator>Ed Spencer</dc:creator>
		<pubDate>Mon, 25 Aug 2008 10:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnruby.com/blog/?p=16#comment-2</guid>
		<description>There&#039;s no reason why you can&#039;t perform the ruby mapping example in one line also:

first_names = accounts.map {&#124;account&#124; account.holder.split(&quot; &quot;).first}

I&#039;ve not used Java for a while but I would assume you can also drop a line at least from its example using split.</description>
		<content:encoded><![CDATA[<p>There&#8217;s no reason why you can&#8217;t perform the ruby mapping example in one line also:</p>
<p>first_names = accounts.map {|account| account.holder.split(&#8221; &#8220;).first}</p>
<p>I&#8217;ve not used Java for a while but I would assume you can also drop a line at least from its example using split.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
