<?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: Array-ifying Values</title>
	<atom:link href="http://avdi.org/devblog/2009/10/21/array-ifying-values/feed/" rel="self" type="application/rss+xml" />
	<link>http://avdi.org/devblog/2009/10/21/array-ifying-values/</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: Evgeniy Dolzhenko</title>
		<link>http://avdi.org/devblog/2009/10/21/array-ifying-values/comment-page-1/#comment-772</link>
		<dc:creator>Evgeniy Dolzhenko</dc:creator>
		<pubDate>Sat, 21 Nov 2009 06:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=250#comment-772</guid>
		<description>One thing I don&#039;t like about the behavior with Hash transformed to Array is that you can&#039;t use it to &quot;normalize&quot; argument to an array (for example to get an API which allows passing both array of hashes and singe hash) so you have to resort to something like `[arg].flatten`.</description>
		<content:encoded><![CDATA[<p>One thing I don&#39;t like about the behavior with Hash transformed to Array is that you can&#39;t use it to &#8220;normalize&#8221; argument to an array (for example to get an <span class="caps">API </span>which allows passing both array of hashes and singe hash) so you have to resort to something like `[arg].flatten`.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phiggy</title>
		<link>http://avdi.org/devblog/2009/10/21/array-ifying-values/comment-page-1/#comment-760</link>
		<dc:creator>phiggy</dc:creator>
		<pubDate>Wed, 18 Nov 2009 16:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=250#comment-760</guid>
		<description>They differ in the nil case:&lt;br&gt;&lt;br&gt;    &gt;&gt; RUBY_DESCRIPTION # =&gt; &quot;ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]&quot;&lt;br&gt;    &gt;&gt; [*nil]           # =&gt; [nil]&lt;br&gt;    &gt;&gt; Array(nil)       # =&gt; []</description>
		<content:encoded><![CDATA[<p>They differ in the nil case:</p>
<p>    &gt;&gt; <span class="caps">RUBY</span>_DESCRIPTION # =&gt; &#8220;ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]&#8220;<br />    &gt;&gt; [*nil]           # =&gt; [nil]<br />    &gt;&gt; Array(nil)       # =&gt; []</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Villalba</title>
		<link>http://avdi.org/devblog/2009/10/21/array-ifying-values/comment-page-1/#comment-707</link>
		<dc:creator>Pablo Villalba</dc:creator>
		<pubDate>Sun, 01 Nov 2009 14:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=250#comment-707</guid>
		<description>I updated a blog post I did on the subject with links to this post, thanks!&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://blog.teambox.com/mrproper-cleaner-blocks-in-ruby&quot; rel=&quot;nofollow&quot;&gt;http://blog.teambox.com/mrproper-cleaner-blocks...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I updated a blog post I did on the subject with links to this post, thanks!</p>
<p><a href="http://blog.teambox.com/mrproper-cleaner-blocks-in-ruby" rel="nofollow"></a><a href="http://blog.teambox.com/mrproper-cleaner-blocks&#8230" rel="nofollow">http://blog.teambox.com/mrproper-cleaner-blocks&#8230</a>;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avdi</title>
		<link>http://avdi.org/devblog/2009/10/21/array-ifying-values/comment-page-1/#comment-675</link>
		<dc:creator>avdi</dc:creator>
		<pubDate>Thu, 22 Oct 2009 02:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=250#comment-675</guid>
		<description>Indeed. I personally feel that Array() is more intent-revealing, but [*] is certainly an alternative.</description>
		<content:encoded><![CDATA[<p>Indeed. I personally feel that Array() is more intent-revealing, but [*] is certainly an alternative.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bradly Feeley</title>
		<link>http://avdi.org/devblog/2009/10/21/array-ifying-values/comment-page-1/#comment-674</link>
		<dc:creator>Bradly Feeley</dc:creator>
		<pubDate>Thu, 22 Oct 2009 02:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://avdi.org/devblog/?p=250#comment-674</guid>
		<description>You can use [*items] as well to do the same thing as Array(). I don&#039;t know if there are any reasons to use one over the other, but it&#039;s an option.</description>
		<content:encoded><![CDATA[<p>You can use [*items] as well to do the same thing as Array(). I don&#39;t know if there are any reasons to use one over the other, but it&#39;s an option.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

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