<?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: Refactoring Day 8 : Replace Inheritance with Delegation</title>
	<atom:link href="http://lostechies.com/seanchambers/2009/08/07/refactoring-day-8-replace-inheritance-with-delegation/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/seanchambers/2009/08/07/refactoring-day-8-replace-inheritance-with-delegation/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Thu, 13 Sep 2012 07:11:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Slawek Ludwiczak</title>
		<link>http://lostechies.com/seanchambers/2009/08/07/refactoring-day-8-replace-inheritance-with-delegation/#comment-626</link>
		<dc:creator>Slawek Ludwiczak</dc:creator>
		<pubDate>Sun, 03 Jun 2012 21:09:00 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2009/08/07/refactoring-day-8-replace-inheritance-with-delegation.aspx#comment-626</guid>
		<description>extremely useful posts about refactoring, thanks Sean! :) </description>
		<content:encoded><![CDATA[<p>extremely useful posts about refactoring, thanks Sean! <img src='http://lostechies.com/seanchambers/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Sherin</title>
		<link>http://lostechies.com/seanchambers/2009/08/07/refactoring-day-8-replace-inheritance-with-delegation/#comment-386</link>
		<dc:creator>Scott Sherin</dc:creator>
		<pubDate>Tue, 11 Aug 2009 18:50:28 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2009/08/07/refactoring-day-8-replace-inheritance-with-delegation.aspx#comment-386</guid>
		<description>Your example would be better refactored into an interface. Also why are you using a private property instead of just a private field? It&#039;s good to make all public variables into properties so if you need the flexibility later you don&#039;t break references. Private fields will have no references outside your class so you can refactor them into properties if needed.

The original example gets the idea across much better than this one.</description>
		<content:encoded><![CDATA[<p>Your example would be better refactored into an interface. Also why are you using a private property instead of just a private field? It&#8217;s good to make all public variables into properties so if you need the flexibility later you don&#8217;t break references. Private fields will have no references outside your class so you can refactor them into properties if needed.</p>
<p>The original example gets the idea across much better than this one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Eyde</title>
		<link>http://lostechies.com/seanchambers/2009/08/07/refactoring-day-8-replace-inheritance-with-delegation/#comment-385</link>
		<dc:creator>Thomas Eyde</dc:creator>
		<pubDate>Sun, 09 Aug 2009 11:06:38 +0000</pubDate>
		<guid isPermaLink="false">/blogs/sean_chambers/archive/2009/08/07/refactoring-day-8-replace-inheritance-with-delegation.aspx#comment-385</guid>
		<description>This is a very useful refactoring. But, as always, there are these icky corner cases: I usually end up in the need of this refactoring, when I create new, but similar classes. 

At first, it makes perfectly sense to extract super class. It&#039;s not until later, when I discover an unfortunate mix between orchestration and implementation, I see that delegation will make clearer code.</description>
		<content:encoded><![CDATA[<p>This is a very useful refactoring. But, as always, there are these icky corner cases: I usually end up in the need of this refactoring, when I create new, but similar classes. </p>
<p>At first, it makes perfectly sense to extract super class. It&#8217;s not until later, when I discover an unfortunate mix between orchestration and implementation, I see that delegation will make clearer code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
