<?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: Copy &#8216;n&#8217; Paste and the incorrigible programmer</title>
	<atom:link href="http://blog.codefront.net/2006/03/10/copy-n-paste-and-the-incorrigible-programmer/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codefront.net/2006/03/10/copy-n-paste-and-the-incorrigible-programmer/</link>
	<description>Rails, Firefox, Anime, Mac</description>
	<lastBuildDate>Sat, 04 Feb 2012 15:38:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: keith ray</title>
		<link>http://blog.codefront.net/2006/03/10/copy-n-paste-and-the-incorrigible-programmer/comment-page-1/#comment-24616</link>
		<dc:creator>keith ray</dc:creator>
		<pubDate>Sun, 12 Mar 2006 03:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.codefront.net/archives/2006/03/10/copy-n-paste-and-the-incorrigible-programmer/#comment-24616</guid>
		<description>Perhaps fewer errors if you eschew temporary variables and use smaller methods? And DRY - &quot;don&#039;t repeat yourself&quot; (even if copy &amp; paste is easier.) :-)

&lt;code&gt;
...
DoStuff( request.getFromLocation(), request.getToLocation() )
//compare to DoStuff( request.getFromLocation(), request.getFromLocation() )
...
void DoStuff( String fromLocation(), String toLocation() )
{
...
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Perhaps fewer errors if you eschew temporary variables and use smaller methods? And DRY &#8211; &#8220;don&#8217;t repeat yourself&#8221; (even if copy &amp; paste is easier.) :-)</p>
<p><code><br />
...<br />
DoStuff( request.getFromLocation(), request.getToLocation() )<br />
//compare to DoStuff( request.getFromLocation(), request.getFromLocation() )<br />
...<br />
void DoStuff( String fromLocation(), String toLocation() )<br />
{<br />
...<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

