<?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: Design Patterns in Ruby by Russ Olsen</title>
	<atom:link href="http://lostechies.com/jasonmeridth/2009/02/26/design-patterns-in-ruby-by-russ-olsen/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/jasonmeridth/2009/02/26/design-patterns-in-ruby-by-russ-olsen/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Thu, 29 Mar 2012 20:33:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Russ Olsen</title>
		<link>http://lostechies.com/jasonmeridth/2009/02/26/design-patterns-in-ruby-by-russ-olsen/#comment-398</link>
		<dc:creator>Russ Olsen</dc:creator>
		<pubDate>Sat, 28 Feb 2009 13:21:30 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jason_meridth/archive/2009/02/25/design-patterns-in-ruby-by-russ-olsen.aspx#comment-398</guid>
		<description>Joe Ocampo wrote:

&gt; About the only thing I would critique is that from what I have 
&gt; observed from most frameworks in Ruby is that the parens are 
&gt; omitted when there is only one arg.

I think there is a range of opinions regarding the parens, yes or no? question in the Ruby community. I am sure, however, that leaving the parens off is the surest way to confuse people who are newly arrived in Ruby from say Java. I can&#039;t tell you the number of times that I have confused a room full of newly minted Ruby programmers because I left the parens off of some example. Put the parens back on and their faces light up.

Russ</description>
		<content:encoded><![CDATA[<p>Joe Ocampo wrote:</p>
<p>> About the only thing I would critique is that from what I have<br />
> observed from most frameworks in Ruby is that the parens are<br />
> omitted when there is only one arg.</p>
<p>I think there is a range of opinions regarding the parens, yes or no? question in the Ruby community. I am sure, however, that leaving the parens off is the surest way to confuse people who are newly arrived in Ruby from say Java. I can&#8217;t tell you the number of times that I have confused a room full of newly minted Ruby programmers because I left the parens off of some example. Put the parens back on and their faces light up.</p>
<p>Russ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ Olsen</title>
		<link>http://lostechies.com/jasonmeridth/2009/02/26/design-patterns-in-ruby-by-russ-olsen/#comment-397</link>
		<dc:creator>Russ Olsen</dc:creator>
		<pubDate>Sat, 28 Feb 2009 13:16:03 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jason_meridth/archive/2009/02/25/design-patterns-in-ruby-by-russ-olsen.aspx#comment-397</guid>
		<description>Jason,

Hey thanks for the kind words, I&#039;m glad that you are finding the book useful. The funny thing about the factories patterns is a) that I wasn&#039;t 100% clear on the difference between the two before I started researching the book and b) given Ruby&#039;s dynamic nature, you really don&#039;t find many of examples of the classic factories in real Ruby code.

Oh, and in the interest of fairness I&#039;m going to include some Marvel characters in my next book.

Russ</description>
		<content:encoded><![CDATA[<p>Jason,</p>
<p>Hey thanks for the kind words, I&#8217;m glad that you are finding the book useful. The funny thing about the factories patterns is a) that I wasn&#8217;t 100% clear on the difference between the two before I started researching the book and b) given Ruby&#8217;s dynamic nature, you really don&#8217;t find many of examples of the classic factories in real Ruby code.</p>
<p>Oh, and in the interest of fairness I&#8217;m going to include some Marvel characters in my next book.</p>
<p>Russ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Ocampo</title>
		<link>http://lostechies.com/jasonmeridth/2009/02/26/design-patterns-in-ruby-by-russ-olsen/#comment-396</link>
		<dc:creator>Joe Ocampo</dc:creator>
		<pubDate>Thu, 26 Feb 2009 18:20:04 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jason_meridth/archive/2009/02/25/design-patterns-in-ruby-by-russ-olsen.aspx#comment-396</guid>
		<description>Your welcome, 

About the only thing I would critique is that from what I have observed from most frameworks in Ruby is that the parens are omitted when there is only one arg.  It reads betters:

# d = SimpleItem.new()  
# d.extend(Decorator1)  
# d.extend(Decorator2)  

to

# d = SimpleItem.new
# d.extend Decorator1  
# d.extend Decorator2  </description>
		<content:encoded><![CDATA[<p>Your welcome, </p>
<p>About the only thing I would critique is that from what I have observed from most frameworks in Ruby is that the parens are omitted when there is only one arg.  It reads betters:</p>
<p># d = SimpleItem.new()<br />
# d.extend(Decorator1)<br />
# d.extend(Decorator2)  </p>
<p>to</p>
<p># d = SimpleItem.new<br />
# d.extend Decorator1<br />
# d.extend Decorator2  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Bellware</title>
		<link>http://lostechies.com/jasonmeridth/2009/02/26/design-patterns-in-ruby-by-russ-olsen/#comment-395</link>
		<dc:creator>Scott Bellware</dc:creator>
		<pubDate>Thu, 26 Feb 2009 05:11:17 +0000</pubDate>
		<guid isPermaLink="false">/blogs/jason_meridth/archive/2009/02/25/design-patterns-in-ruby-by-russ-olsen.aspx#comment-395</guid>
		<description>Cheers!</description>
		<content:encoded><![CDATA[<p>Cheers!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
