<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Making the Complex Simple</title>
	<atom:link href="http://simpleprogrammer.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://simpleprogrammer.com</link>
	<description>Software Development from John Sonmez&#039;s Perspective</description>
	<lastBuildDate>Tue, 29 May 2012 17:30:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Types of Duplication in Code by Mark Miller</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2577</link>
		<dc:creator><![CDATA[Mark Miller]]></dc:creator>
		<pubDate>Tue, 29 May 2012 17:30:56 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2577</guid>
		<description><![CDATA[Hi John, great article. I&#039;m wary of the naming chosen for the different types of duplication. In this article, the first part of the name identifies the piece that *differs* and the second part of the name is &quot;duplication&quot;. So when the data differs, it&#039;s called &quot;data duplication&quot;, two words together that mean the *opposite* of what is really happening. I&#039;m hopeful we can come up with better ways to identify what is changing while still keeping the names for these three kinds of duplication easy to use and meaningful.]]></description>
		<content:encoded><![CDATA[<p>Hi John, great article. I&#8217;m wary of the naming chosen for the different types of duplication. In this article, the first part of the name identifies the piece that *differs* and the second part of the name is &#8220;duplication&#8221;. So when the data differs, it&#8217;s called &#8220;data duplication&#8221;, two words together that mean the *opposite* of what is really happening. I&#8217;m hopeful we can come up with better ways to identify what is changing while still keeping the names for these three kinds of duplication easy to use and meaningful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by jsonmez</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2576</link>
		<dc:creator><![CDATA[jsonmez]]></dc:creator>
		<pubDate>Tue, 29 May 2012 17:16:44 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2576</guid>
		<description><![CDATA[Yes, you are correct.  Was just trying to keep to super simple, but in a real world application, you are absolutely right.]]></description>
		<content:encoded><![CDATA[<p>Yes, you are correct.  Was just trying to keep to super simple, but in a real world application, you are absolutely right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by Robert Stackhouse (@rstackhouse)</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2575</link>
		<dc:creator><![CDATA[Robert Stackhouse (@rstackhouse)]]></dc:creator>
		<pubDate>Tue, 29 May 2012 15:38:15 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2575</guid>
		<description><![CDATA[Thanks for sharing. I appreciate the fact that with delegates in C# we can make functions (almost) first class citizens.

To me, the &quot;Algorithm Duplication&quot; term is the most clear. It says, &quot;You are doing these things in this sequence in multiple places with a slight variation. That variation being what method gets called in the middle.&quot;

In all the cases, what is duplicated is the generic rather than the specific. 

The terms &quot;Type Duplication&quot; and &quot;Data Duplication&quot; seem misleading. 

Type Duplication would indicate to me that you&#039;ve got two classes that do the same thing. &quot;Overload Duplication&quot; might be a better appointed term here. 

Data Duplication, to me, would indicate that you have the exact same data (possibly in the exact same format) in different stores. I&#039;ve primarily been a web developer in my career. Therefore, I naturally think of data in the same terms the pointed haired bosses do: the stuff that lives in the RDBMS. To me, &quot;Method Call Duplication&quot; would be clearer here.

My $0.02.]]></description>
		<content:encoded><![CDATA[<p>Thanks for sharing. I appreciate the fact that with delegates in C# we can make functions (almost) first class citizens.</p>
<p>To me, the &#8220;Algorithm Duplication&#8221; term is the most clear. It says, &#8220;You are doing these things in this sequence in multiple places with a slight variation. That variation being what method gets called in the middle.&#8221;</p>
<p>In all the cases, what is duplicated is the generic rather than the specific. </p>
<p>The terms &#8220;Type Duplication&#8221; and &#8220;Data Duplication&#8221; seem misleading. </p>
<p>Type Duplication would indicate to me that you&#8217;ve got two classes that do the same thing. &#8220;Overload Duplication&#8221; might be a better appointed term here. </p>
<p>Data Duplication, to me, would indicate that you have the exact same data (possibly in the exact same format) in different stores. I&#8217;ve primarily been a web developer in my career. Therefore, I naturally think of data in the same terms the pointed haired bosses do: the stuff that lives in the RDBMS. To me, &#8220;Method Call Duplication&#8221; would be clearer here.</p>
<p>My $0.02.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by Shashi</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2574</link>
		<dc:creator><![CDATA[Shashi]]></dc:creator>
		<pubDate>Tue, 29 May 2012 13:46:36 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2574</guid>
		<description><![CDATA[John, 

The type refactoring example you&#039;ve shown needs to be made safer by using constraints. The problem with the way the method looks now is that in assumes container.Get() can support any type T. This means we&#039;ve changed the specification of the method and introduced bugs.]]></description>
		<content:encoded><![CDATA[<p>John, </p>
<p>The type refactoring example you&#8217;ve shown needs to be made safer by using constraints. The problem with the way the method looks now is that in assumes container.Get() can support any type T. This means we&#8217;ve changed the specification of the method and introduced bugs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by Bookmarks for May 28th &#8211; [ andalas.com ]</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2573</link>
		<dc:creator><![CDATA[Bookmarks for May 28th &#8211; [ andalas.com ]]]></dc:creator>
		<pubDate>Mon, 28 May 2012 21:03:47 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2573</guid>
		<description><![CDATA[[...] Types of Duplication in Code &#8211; [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Types of Duplication in Code &#8211; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by jsonmez</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2572</link>
		<dc:creator><![CDATA[jsonmez]]></dc:creator>
		<pubDate>Mon, 28 May 2012 15:08:36 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2572</guid>
		<description><![CDATA[I agree with you on that, although there are often ways to do both by moving your common methods into a framework.]]></description>
		<content:encoded><![CDATA[<p>I agree with you on that, although there are often ways to do both by moving your common methods into a framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by Sean Feldman</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2571</link>
		<dc:creator><![CDATA[Sean Feldman]]></dc:creator>
		<pubDate>Mon, 28 May 2012 12:07:22 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2571</guid>
		<description><![CDATA[John,
Good post. I used to think that duplication is evil. Certainly duplication is code. Yet there are casing when you want to break down your logic in simple chunks and duplication is intended for the purpose of breaking down system into components. As an example - services. I&#039;d rather have independent services that can be managed separately, then no duplicated code at all and need to touch every service that shares code when one of them is updated.]]></description>
		<content:encoded><![CDATA[<p>John,<br />
Good post. I used to think that duplication is evil. Certainly duplication is code. Yet there are casing when you want to break down your logic in simple chunks and duplication is intended for the purpose of breaking down system into components. As an example &#8211; services. I&#8217;d rather have independent services that can be managed separately, then no duplicated code at all and need to touch every service that shares code when one of them is updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by The Morning Brew - Chris Alcock &#187; The Morning Brew #1114</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2570</link>
		<dc:creator><![CDATA[The Morning Brew - Chris Alcock &#187; The Morning Brew #1114]]></dc:creator>
		<pubDate>Mon, 28 May 2012 08:31:56 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2570</guid>
		<description><![CDATA[[...] Types of Duplication in Code - John Sonmez discusses three different types of code duplication which can occur in applications, looking at simple refactoring which can help to address the duplication. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Types of Duplication in Code &#8211; John Sonmez discusses three different types of code duplication which can occur in applications, looking at simple refactoring which can help to address the duplication. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by franjobrekalo</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2569</link>
		<dc:creator><![CDATA[franjobrekalo]]></dc:creator>
		<pubDate>Mon, 28 May 2012 05:17:38 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2569</guid>
		<description><![CDATA[For me the hardest part is when some of the logic is repeated and not all of them. So, I have several functions and some of them repeat some logic, but not all of the functions repeats all logic. I&#039;ve found it easier to just let it be the way it is, but the problem had come, when I had to make changes - I was changing each function, of course. If my code was in one place, then only that function needed to be changed.

Very well written - I&#039;ve never thought before about algorithm duplication and - of course - mostly I don&#039;t use delegates in my programmming.]]></description>
		<content:encoded><![CDATA[<p>For me the hardest part is when some of the logic is repeated and not all of them. So, I have several functions and some of them repeat some logic, but not all of the functions repeats all logic. I&#8217;ve found it easier to just let it be the way it is, but the problem had come, when I had to make changes &#8211; I was changing each function, of course. If my code was in one place, then only that function needed to be changed.</p>
<p>Very well written &#8211; I&#8217;ve never thought before about algorithm duplication and &#8211; of course &#8211; mostly I don&#8217;t use delegates in my programmming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Duplication in Code by nathan</title>
		<link>http://simpleprogrammer.com/2012/05/27/types-of-duplication-in-code/#comment-2568</link>
		<dc:creator><![CDATA[nathan]]></dc:creator>
		<pubDate>Mon, 28 May 2012 00:37:47 +0000</pubDate>
		<guid isPermaLink="false">https://complextosimple.wordpress.com/?p=1539#comment-2568</guid>
		<description><![CDATA[Reblogged this on &lt;a href=&quot;http://jhonatantirado.wordpress.com/2012/05/27/647/&quot; rel=&quot;nofollow&quot;&gt;Nathan&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Reblogged this on <a href="http://jhonatantirado.wordpress.com/2012/05/27/647/" rel="nofollow">Nathan</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

