<?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: On The Desired Complexity of Rails</title>
	<atom:link href="http://www.napcsweb.com/blog/2011/08/21/on-the-desired-complexity-of-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.napcsweb.com/blog/2011/08/21/on-the-desired-complexity-of-rails/</link>
	<description>professional web development and consulting</description>
	<lastBuildDate>Mon, 22 Aug 2011 18:56:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Joe Fiorini</title>
		<link>http://www.napcsweb.com/blog/2011/08/21/on-the-desired-complexity-of-rails/comment-page-1/#comment-28547</link>
		<dc:creator>Joe Fiorini</dc:creator>
		<pubDate>Mon, 22 Aug 2011 18:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.napcsweb.com/blog/?p=294#comment-28547</guid>
		<description>Well said Brian. I too have seen a use for some of these more complex patterns in my projects. Let&#039;s always remember that we&#039;re using Ruby. For example, dependency injection is useful in some cases in Ruby, but any Ruby developer worth his salt should be able to think of a better way to configure an IoC container than a complex XML schema. As a more concrete example, when I&#039;ve written presenters (similar to the decorators you mentioned) I make heavy use of Ruby&#039;s Delegator class so I can completely wrap the model. IMO far more elegant than what I could do in a less dynamic language. Rails was built to make developers more productive. As we apply these patterns we should use that as our constraint to build better solutions than what we&#039;ve had in the past.</description>
		<content:encoded><![CDATA[<p>Well said Brian. I too have seen a use for some of these more complex patterns in my projects. Let&#8217;s always remember that we&#8217;re using Ruby. For example, dependency injection is useful in some cases in Ruby, but any Ruby developer worth his salt should be able to think of a better way to configure an IoC container than a complex XML schema. As a more concrete example, when I&#8217;ve written presenters (similar to the decorators you mentioned) I make heavy use of Ruby&#8217;s Delegator class so I can completely wrap the model. IMO far more elegant than what I could do in a less dynamic language. Rails was built to make developers more productive. As we apply these patterns we should use that as our constraint to build better solutions than what we&#8217;ve had in the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bryanl</title>
		<link>http://www.napcsweb.com/blog/2011/08/21/on-the-desired-complexity-of-rails/comment-page-1/#comment-28546</link>
		<dc:creator>bryanl</dc:creator>
		<pubDate>Mon, 22 Aug 2011 18:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.napcsweb.com/blog/?p=294#comment-28546</guid>
		<description>You&#039;ve stumbled on the fine line of &quot;should we make this easy to code, or should we be nice to future developers?&quot; I could type paragraphs and paragraphs of reasons to keep things simple, but I&#039;d just be wasting my time. 

Projects grow up. Projects get transferred to other developers. The time tested patterns that may bring with them a bit of complexity always seem to be the better solutions. The trick is to turn the complex pattern into a simple abstraction.</description>
		<content:encoded><![CDATA[<p>You&#8217;ve stumbled on the fine line of &#8220;should we make this easy to code, or should we be nice to future developers?&#8221; I could type paragraphs and paragraphs of reasons to keep things simple, but I&#8217;d just be wasting my time. </p>
<p>Projects grow up. Projects get transferred to other developers. The time tested patterns that may bring with them a bit of complexity always seem to be the better solutions. The trick is to turn the complex pattern into a simple abstraction.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

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

