<?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: Playing with blocks : Part 2</title>
	<atom:link href="http://www.rubyfleebie.com/playing-with-blocks-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rubyfleebie.com/playing-with-blocks-part-2/</link>
	<description>Because programming should be fun</description>
	<lastBuildDate>Wed, 04 Jan 2012 05:17:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Breaking Rumors, News, Truemors</title>
		<link>http://www.rubyfleebie.com/playing-with-blocks-part-2/comment-page-1/#comment-243</link>
		<dc:creator>Breaking Rumors, News, Truemors</dc:creator>
		<pubDate>Thu, 07 Jun 2007 04:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/playing-with-blocks-part-2/#comment-243</guid>
		<description>[...] http://www.rubyfleebie.com/playing-with-blocks-part-2/     Politics  no score    link spread   9:09 pm by hhgreg@gmail.com [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.rubyfleebie.com/playing-with-blocks-part-2/" rel="nofollow">http://www.rubyfleebie.com/playing-with-blocks-part-2/</a>     Politics  no score    link spread   9:09 pm by <a href="mailto:hhgreg@gmail.com">hhgreg@gmail.com</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shadowfiend</title>
		<link>http://www.rubyfleebie.com/playing-with-blocks-part-2/comment-page-1/#comment-242</link>
		<dc:creator>Shadowfiend</dc:creator>
		<pubDate>Wed, 06 Jun 2007 21:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/playing-with-blocks-part-2/#comment-242</guid>
		<description>While using procs and thus blocks that exist after the method has finished executing is a better example of the closure concept, it&#039;s not true that the enclosing scope exists in the regular block usage case. When you go into the other method, you&#039;re going into a completely different local scope. The closure properties of the blocks are therefore still extremely useful, because the local scope of the other method can&#039;t refer to the local scope of the calling method except through the `glue&#039; that is the block.</description>
		<content:encoded><![CDATA[<p>While using procs and thus blocks that exist after the method has finished executing is a better example of the closure concept, it&#8217;s not true that the enclosing scope exists in the regular block usage case. When you go into the other method, you&#8217;re going into a completely different local scope. The closure properties of the blocks are therefore still extremely useful, because the local scope of the other method can&#8217;t refer to the local scope of the calling method except through the `glue&#8217; that is the block.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Link Saturation Hacks</title>
		<link>http://www.rubyfleebie.com/playing-with-blocks-part-2/comment-page-1/#comment-241</link>
		<dc:creator>Link Saturation Hacks</dc:creator>
		<pubDate>Wed, 06 Jun 2007 10:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/playing-with-blocks-part-2/#comment-241</guid>
		<description>damn that makes sense now, thanks</description>
		<content:encoded><![CDATA[<p>damn that makes sense now, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://www.rubyfleebie.com/playing-with-blocks-part-2/comment-page-1/#comment-240</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Tue, 05 Jun 2007 18:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/playing-with-blocks-part-2/#comment-240</guid>
		<description>@Mr eel, @Taak

Thank you for the suggestion! Next part will be about blocks in DSL&#039;s.</description>
		<content:encoded><![CDATA[<p>@Mr eel, @Taak</p>
<p>Thank you for the suggestion! Next part will be about blocks in DSL&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seer Taak</title>
		<link>http://www.rubyfleebie.com/playing-with-blocks-part-2/comment-page-1/#comment-239</link>
		<dc:creator>Seer Taak</dc:creator>
		<pubDate>Tue, 05 Jun 2007 17:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/playing-with-blocks-part-2/#comment-239</guid>
		<description>That would be kool. Talk about DSL&#039;s</description>
		<content:encoded><![CDATA[<p>That would be kool. Talk about DSL&#8217;s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr eel</title>
		<link>http://www.rubyfleebie.com/playing-with-blocks-part-2/comment-page-1/#comment-238</link>
		<dc:creator>Mr eel</dc:creator>
		<pubDate>Tue, 05 Jun 2007 13:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubyfleebie.com/playing-with-blocks-part-2/#comment-238</guid>
		<description>A good description!

Have you considered discussing the use of blocks in DSLs? They&#039;re probably one of the most common uses of blocks — outside of iterators — in Ruby and users unfamiliar with the concepts would at least recognise the code. They&#039;re a good place to start tinkering with blocks and getting a good idea of how they work.

That&#039;s what I&#039;ve found for myself at least :)</description>
		<content:encoded><![CDATA[<p>A good description!</p>
<p>Have you considered discussing the use of blocks in DSLs? They&#8217;re probably one of the most common uses of blocks — outside of iterators — in Ruby and users unfamiliar with the concepts would at least recognise the code. They&#8217;re a good place to start tinkering with blocks and getting a good idea of how they work.</p>
<p>That&#8217;s what I&#8217;ve found for myself at least :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

