<?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: Polymorphism: Part 1</title>
	<atom:link href="http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/</link>
	<description></description>
	<lastBuildDate>Mon, 03 Jun 2013 06:05: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: Mario Pareja</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-259</link>
		<dc:creator>Mario Pareja</dc:creator>
		<pubDate>Wed, 13 Mar 2013 14:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-259</guid>
		<description>Now that everyone is hopefully done commenting on your &quot;IWhatever&quot; naming style, I&#039;d like to ask a simple question. What were some of those other things you felt you _did_ learn that you wouldn&#039;t otherwise be exposed to?</description>
		<content:encoded><![CDATA[<p>Now that everyone is hopefully done commenting on your &#8220;IWhatever&#8221; naming style, I&#8217;d like to ask a simple question. What were some of those other things you felt you _did_ learn that you wouldn&#8217;t otherwise be exposed to?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reading Notes 2013-03-04 &#124; Matricis</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-249</link>
		<dc:creator>Reading Notes 2013-03-04 &#124; Matricis</dc:creator>
		<pubDate>Mon, 04 Mar 2013 18:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-249</guid>
		<description>[...] Polymorphism: Part 1 (John Teague) &#8211; Great tutorial that explains an important concept in programmation. [...]</description>
		<content:encoded><![CDATA[<p>[...] Polymorphism: Part 1 (John Teague) &#8211; Great tutorial that explains an important concept in programmation. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Teague</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-247</link>
		<dc:creator>John Teague</dc:creator>
		<pubDate>Fri, 01 Mar 2013 15:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-247</guid>
		<description>My development style is more composition than inheritance, so it was just easier for me to make the examples like this.  the ISendMessages interface could have easily been an abstract class (I&#039;m hoping to get to an example where it has one).  Then the inheritance tree would start from a class.  To me however, if you look at how I defined polymorphism, where you have different behavior with a consistent keeping a consistent contract, it doesn&#039;t matter if you start from a base class or an interface.

The important part is to use the abstraction, not the concrete implementation.  Whether the abstraction is an interface or class you get the same benefits.

HTH,
John</description>
		<content:encoded><![CDATA[<p>My development style is more composition than inheritance, so it was just easier for me to make the examples like this.  the ISendMessages interface could have easily been an abstract class (I&#8217;m hoping to get to an example where it has one).  Then the inheritance tree would start from a class.  To me however, if you look at how I defined polymorphism, where you have different behavior with a consistent keeping a consistent contract, it doesn&#8217;t matter if you start from a base class or an interface.</p>
<p>The important part is to use the abstraction, not the concrete implementation.  Whether the abstraction is an interface or class you get the same benefits.</p>
<p>HTH,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dbr</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-246</link>
		<dc:creator>Dbr</dc:creator>
		<pubDate>Fri, 01 Mar 2013 13:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-246</guid>
		<description>Typo - I meant to say  &quot;What is it about it that makes it polymorphism?&quot;...</description>
		<content:encoded><![CDATA[<p>Typo &#8211; I meant to say  &#8220;What is it about it that makes it polymorphism?&#8221;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dbr</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-245</link>
		<dc:creator>Dbr</dc:creator>
		<pubDate>Fri, 01 Mar 2013 13:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-245</guid>
		<description>Hi. Sorry if this is a little basic, but can you just quickly define &quot;polymorphism&quot; as opposed to &quot;inheritance&quot;?  I see the benefit of the way you have written your code, I don&#039;t need help with that, but I would just call that a good example of inheriting from an interface?  What is it about it that makes it inheritance?</description>
		<content:encoded><![CDATA[<p>Hi. Sorry if this is a little basic, but can you just quickly define &#8220;polymorphism&#8221; as opposed to &#8220;inheritance&#8221;?  I see the benefit of the way you have written your code, I don&#8217;t need help with that, but I would just call that a good example of inheriting from an interface?  What is it about it that makes it inheritance?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos Ribas</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-243</link>
		<dc:creator>Carlos Ribas</dc:creator>
		<pubDate>Tue, 26 Feb 2013 17:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-243</guid>
		<description>NServiceBus is full of self-contradictions with regards to this &quot;new style&quot; interface naming.  IHandleMessages simply aliases the traditionally-named IMessageHandler.   There&#039;s ISpecifyMessageHandlerOrdering and then there&#039;s IMessageCreator (not ICreateMessages?).  

This strikes me as ridiculous.  If programming were a democracy I&#039;d vote for the &quot;let&#039;s stop with the cute English-y stuff&quot; party.</description>
		<content:encoded><![CDATA[<p>NServiceBus is full of self-contradictions with regards to this &#8220;new style&#8221; interface naming.  IHandleMessages simply aliases the traditionally-named IMessageHandler.   There&#8217;s ISpecifyMessageHandlerOrdering and then there&#8217;s IMessageCreator (not ICreateMessages?).  </p>
<p>This strikes me as ridiculous.  If programming were a democracy I&#8217;d vote for the &#8220;let&#8217;s stop with the cute English-y stuff&#8221; party.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Alden</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-242</link>
		<dc:creator>Nathan Alden</dc:creator>
		<pubDate>Tue, 26 Feb 2013 17:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-242</guid>
		<description>Your intent is misplaced and contradicts decades of usage patterns. Additionally, it&#039;s factually wrong. An interface does nothing. It merely represents that which does something.</description>
		<content:encoded><![CDATA[<p>Your intent is misplaced and contradicts decades of usage patterns. Additionally, it&#8217;s factually wrong. An interface does nothing. It merely represents that which does something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Alden</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-241</link>
		<dc:creator>Nathan Alden</dc:creator>
		<pubDate>Tue, 26 Feb 2013 17:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-241</guid>
		<description>ISendMessages? No you don&#039;t. You&#039;re an interface; you represent that which sends messages. IMessageSender is much more accurate. Please, let&#039;s all stop trying to make C# (and other similar languages) read like English; it&#039;s infantile.</description>
		<content:encoded><![CDATA[<p>ISendMessages? No you don&#8217;t. You&#8217;re an interface; you represent that which sends messages. IMessageSender is much more accurate. Please, let&#8217;s all stop trying to make C# (and other similar languages) read like English; it&#8217;s infantile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Roberts</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-240</link>
		<dc:creator>Matthew Roberts</dc:creator>
		<pubDate>Tue, 26 Feb 2013 06:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-240</guid>
		<description>








John, its an interesting POV. I personally am not used to this way mainly because the .NET community are well attuned to using singular nouns for object naming (following Microsoft best practises of course!). 



I recently started learning Objective-C and was surprised to see many objects names were verbs.



But at the end of the day, the compiler wont argue with you - only us humans will =]</description>
		<content:encoded><![CDATA[<p>John, its an interesting POV. I personally am not used to this way mainly because the .NET community are well attuned to using singular nouns for object naming (following Microsoft best practises of course!). </p>
<p>I recently started learning Objective-C and was surprised to see many objects names were verbs.</p>
<p>But at the end of the day, the compiler wont argue with you &#8211; only us humans will =]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Teague</title>
		<link>http://lostechies.com/johnteague/2013/02/21/polymorphism-part-1/#comment-239</link>
		<dc:creator>John Teague</dc:creator>
		<pubDate>Tue, 26 Feb 2013 05:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/johnteague/?p=160#comment-239</guid>
		<description>That was a typo on my part, it should have been OrderProcessor to be consistent with the examples</description>
		<content:encoded><![CDATA[<p>That was a typo on my part, it should have been OrderProcessor to be consistent with the examples</p>
]]></content:encoded>
	</item>
</channel>
</rss>
