<?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"
	>
<channel>
	<title>Comments on: It&#8217;s not about code reuse, it&#8217;s about maintenance</title>
	<atom:link href="http://www.losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/</link>
	<description>smarter than your average squirrel, on most non-acorn related topics</description>
	<pubDate>Fri, 21 Nov 2008 07:15:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: John</title>
		<link>http://www.losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/#comment-3598</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-3598</guid>
		<description>"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."

I don't think that's quite right.

Low coupling means the relevant code is located in the minimum number of different classes/modules, so one doesn't have to go searching all over the codebase to find it. What high cohesion means is that there's nothing in those classes/modules except what'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://www.losingfight.com/blog/2006/09/03/its-not-about-code-reuse-its-about-maintenance/#comment-375</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-375</guid>
		<description>Andy, I'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't really have "sample code". Most of this code is actual code I developed for this or that project, and I think that it's suitable as sample code proves that with proper encapsulation, you can make code easy to understand while it's still useful. I usually don't upload code I haven't used in at least two projects (well, except for those actually labelled as "samples" or "studies").

Hence, I don't agree with your thesis that one shouldn't reuse the code in the SVG viewer and editor. Yes, you have to take care that you don't design for a hypothetical reuse case, because then you'll over-engineer, which used to be the main criticism against C++ applications. But that's due to not identifying the requirements, not due to reuse itself being bad.

But we agree that reuse shouldn't be done to save time typing, but rather to save time debugging. Less code is often better because there'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>

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