<?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: It&#8217;s not about code reuse, it&#8217;s about maintenance</title>
	<atom:link href="http://losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/feed/" rel="self" type="application/rss+xml" />
	<link>http://losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/</link>
	<description>because i don&#039;t write software for windows</description>
	<lastBuildDate>Mon, 27 Feb 2012 21:23:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: John</title>
		<link>http://losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/comment-page-1/#comment-100</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 26 Jan 2007 03:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/#comment-100</guid>
		<description>&quot;High cohesion means you don’t have to go searching everywhere in the codebase to find everything about, say, vectors. Its all in one place.&quot;

I don&#039;t think that&#039;s quite right.

Low coupling means the relevant code is located in the minimum number of different classes/modules, so one doesn&#039;t have to go searching all over the codebase to find it. What high cohesion means is that there&#039;s nothing in those classes/modules except what&#039;s relevant to the task at hand.</description>
		<content:encoded><![CDATA[<p>&#8220;High cohesion means you don’t have to go searching everywhere in the codebase to find everything about, say, vectors. Its all in one place.&#8221;</p>
<p>I don&#8217;t think that&#8217;s quite right.</p>
<p>Low coupling means the relevant code is located in the minimum number of different classes/modules, so one doesn&#8217;t have to go searching all over the codebase to find it. What high cohesion means is that there&#8217;s nothing in those classes/modules except what&#8217;s relevant to the task at hand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uli Kusterer</title>
		<link>http://losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/comment-page-1/#comment-99</link>
		<dc:creator>Uli Kusterer</dc:creator>
		<pubDate>Sat, 30 Sep 2006 15:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/#comment-99</guid>
		<description>Andy, I&#039;ve revised my article a little. I agree that the actual goal is maintainability, not just reuse. Reuse is simply one of the main tools for making code maintainable.

That said, I don&#039;t really have &quot;sample code&quot;. Most of this code is actual code I developed for this or that project, and I think that it&#039;s suitable as sample code proves that with proper encapsulation, you can make code easy to understand while it&#039;s still useful. I usually don&#039;t upload code I haven&#039;t used in at least two projects (well, except for those actually labelled as &quot;samples&quot; or &quot;studies&quot;).

Hence, I don&#039;t agree with your thesis that one shouldn&#039;t reuse the code in the SVG viewer and editor. Yes, you have to take care that you don&#039;t design for a hypothetical reuse case, because then you&#039;ll over-engineer, which used to be the main criticism against C++ applications. But that&#039;s due to not identifying the requirements, not due to reuse itself being bad.

But we agree that reuse shouldn&#039;t be done to save time typing, but rather to save time debugging. Less code is often better because there&#039;s less opportunity for bugs.</description>
		<content:encoded><![CDATA[<p>Andy, I&#8217;ve revised my article a little. I agree that the actual goal is maintainability, not just reuse. Reuse is simply one of the main tools for making code maintainable.</p>
<p>That said, I don&#8217;t really have &#8220;sample code&#8221;. Most of this code is actual code I developed for this or that project, and I think that it&#8217;s suitable as sample code proves that with proper encapsulation, you can make code easy to understand while it&#8217;s still useful. I usually don&#8217;t upload code I haven&#8217;t used in at least two projects (well, except for those actually labelled as &#8220;samples&#8221; or &#8220;studies&#8221;).</p>
<p>Hence, I don&#8217;t agree with your thesis that one shouldn&#8217;t reuse the code in the SVG viewer and editor. Yes, you have to take care that you don&#8217;t design for a hypothetical reuse case, because then you&#8217;ll over-engineer, which used to be the main criticism against C++ applications. But that&#8217;s due to not identifying the requirements, not due to reuse itself being bad.</p>
<p>But we agree that reuse shouldn&#8217;t be done to save time typing, but rather to save time debugging. Less code is often better because there&#8217;s less opportunity for bugs.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

