<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Go Fetch</title>
	<atom:link href="http://avdi.org/devblog/2009/03/16/go-fetch/feed/" rel="self" type="application/rss+xml" />
	<link>http://avdi.org/devblog/2009/03/16/go-fetch/</link>
	<description>"...the three great virtues of a programmer: laziness, impatience, and hubris." -- Larry Wall</description>
	<lastBuildDate>Wed, 03 Mar 2010 21:56:22 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: avdi</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-765</link>
		<dc:creator>avdi</dc:creator>
		<pubDate>Thu, 19 Nov 2009 01:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-765</guid>
		<description>Then they should read this article... or the Ruby documentation :-)</description>
		<content:encoded><![CDATA[<p>Then they should read this article&#8230; or the Ruby documentation <img src='http://avdi.org/devblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phoenixchu</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-764</link>
		<dc:creator>phoenixchu</dc:creator>
		<pubDate>Wed, 18 Nov 2009 23:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-764</guid>
		<description>it maybe cause some misunderstanding if other developers don&#039;t know fetch method for default value usage</description>
		<content:encoded><![CDATA[<p>it maybe cause some misunderstanding if other developers don&#39;t know fetch method for default value usage</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avdi</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-762</link>
		<dc:creator>avdi</dc:creator>
		<pubDate>Wed, 18 Nov 2009 17:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-762</guid>
		<description>Indeed. This feature is useful in cases where you know you want to treat all missing values in the same way.</description>
		<content:encoded><![CDATA[<p>Indeed. This feature is useful in cases where you know you want to treat all missing values in the same way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farrel</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-759</link>
		<dc:creator>Farrel</dc:creator>
		<pubDate>Wed, 18 Nov 2009 16:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-759</guid>
		<description>With Hash you can initialise it with a block of code that does the same thing without using fetch.&lt;br&gt;&lt;br&gt;h = Hash.new{ raise IndexError }&lt;br&gt;h[ :a ] = 1&lt;br&gt;h[ :a ] # =&gt; 1&lt;br&gt;h[ :b ] # IndexError raised.</description>
		<content:encoded><![CDATA[<p>With Hash you can initialise it with a block of code that does the same thing without using fetch.</p>
<p>h = Hash.new{ raise IndexError }<br />h[ :a ] = 1<br />h[ :a ] # =&gt; 1<br />h[ :b ] # IndexError raised.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Eichert</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-617</link>
		<dc:creator>Steve Eichert</dc:creator>
		<pubDate>Fri, 03 Apr 2009 18:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-617</guid>
		<description>Very cool.  Not sure why but I don&#039;t think I&#039;ve ever come across fetch before.  It will make some code a bit cleaner, thanks! :)</description>
		<content:encoded><![CDATA[<p>Very cool.  Not sure why but I don&#39;t think I&#39;ve ever come across fetch before.  It will make some code a bit cleaner, thanks! <img src='http://avdi.org/devblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jhonez</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-615</link>
		<dc:creator>Jhonez</dc:creator>
		<pubDate>Mon, 30 Mar 2009 19:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-615</guid>
		<description>I didn&#039;t know about #fetch methods .&lt;br&gt;Thanks for pointing it out !................................... : )</description>
		<content:encoded><![CDATA[<p>I didn&#39;t know about #fetch methods .<br />Thanks for pointing it out !&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. : )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Subelsky</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-612</link>
		<dc:creator>Mike Subelsky</dc:creator>
		<pubDate>Wed, 18 Mar 2009 13:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-612</guid>
		<description>This is great!  I&#039;m totally using this everywhere from now on.  Thanks for pointing it out!</description>
		<content:encoded><![CDATA[<p>This is great!  I&#39;m totally using this everywhere from now on.  Thanks for pointing it out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avdi</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-610</link>
		<dc:creator>avdi</dc:creator>
		<pubDate>Tue, 17 Mar 2009 10:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-610</guid>
		<description>Dude, I either forgot about or didn&#039;t know about that form.  Either way, thanks for bringing that up!</description>
		<content:encoded><![CDATA[<p>Dude, I either forgot about or didn&#39;t know about that form.  Either way, thanks for bringing that up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Mabey</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-609</link>
		<dc:creator>Ben Mabey</dc:creator>
		<pubDate>Tue, 17 Mar 2009 04:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-609</guid>
		<description>Thanks for the informative post! I had forgotten all about #fetch, but you make a very good case for using it.  BTW, from the docs, another way of writing your last example would be without the block like so:&lt;br&gt;&lt;br&gt;verbose = options.fetch(&#039;verbose&#039;, false)&lt;br&gt;&lt;br&gt;I think I like the block syntax better though.  It seems to communicate better.</description>
		<content:encoded><![CDATA[<p>Thanks for the informative post! I had forgotten all about #fetch, but you make a very good case for using it.  <span class="caps">BTW, </span>from the docs, another way of writing your last example would be without the block like so:</p>
<p>verbose = options.fetch(&#39;verbose&#39;, false)</p>
<p>I think I like the block syntax better though.  It seems to communicate better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avdi</title>
		<link>http://avdi.org/devblog/2009/03/16/go-fetch/comment-page-1/#comment-608</link>
		<dc:creator>avdi</dc:creator>
		<pubDate>Tue, 17 Mar 2009 00:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=122#comment-608</guid>
		<description>Hey Patrick, great to hear it was of use to you!</description>
		<content:encoded><![CDATA[<p>Hey Patrick, great to hear it was of use to you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.436 seconds -->
