<?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: Duck Typing for C#</title>
	<atom:link href="http://www.taylor.se/blog/2006/10/20/duck-typing-for-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.taylor.se/blog/2006/10/20/duck-typing-for-c/</link>
	<description>Smart consulting</description>
	<lastBuildDate>Tue, 08 Jun 2010 05:02:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Chris Hedgate</title>
		<link>http://www.taylor.se/blog/2006/10/20/duck-typing-for-c/comment-page-1/#comment-1087</link>
		<dc:creator>Chris Hedgate</dc:creator>
		<pubDate>Sun, 22 Oct 2006 10:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.taylor.se/blog/2006/10/20/duck-typing-for-c/#comment-1087</guid>
		<description>Nick, one of the reasons given for doing it this way was that you wanted to be very agile in your coding. If you are using an interface that is part of the code you are building, and that interface is not completely set, then this method will be a nice alternative to doing it the Visual Studio-way as you say. Otherwise you will need to change your tests (or test helpers or wherever the interface is used) when the interface later changes. If you are really only interested in this one method for a particular test, then I see this method as a nice way.

And if I know Andrés correctly, I am pretty sure he is not trying to tell us to do it this way all the time. This is just an example of how you can do things differently for different purposes.</description>
		<content:encoded><![CDATA[<p>Nick, one of the reasons given for doing it this way was that you wanted to be very agile in your coding. If you are using an interface that is part of the code you are building, and that interface is not completely set, then this method will be a nice alternative to doing it the Visual Studio-way as you say. Otherwise you will need to change your tests (or test helpers or wherever the interface is used) when the interface later changes. If you are really only interested in this one method for a particular test, then I see this method as a nice way.</p>
<p>And if I know Andrés correctly, I am pretty sure he is not trying to tell us to do it this way all the time. This is just an example of how you can do things differently for different purposes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Mill</title>
		<link>http://www.taylor.se/blog/2006/10/20/duck-typing-for-c/comment-page-1/#comment-1059</link>
		<dc:creator>Bill Mill</dc:creator>
		<pubDate>Sat, 21 Oct 2006 02:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.taylor.se/blog/2006/10/20/duck-typing-for-c/#comment-1059</guid>
		<description>Having &quot;grown up&quot; programming in the python community, I always assumed that we invented the term &quot;duck typing&quot;. However this was an interesting and informative search: http://groups.google.com/groups/search?q=%22duck+typing%22&amp;start=370&amp;sa=N&amp;scoring=d&amp; .

Looks like Rubyists coined the term, but Pythonistas jumped on the bandwagon pretty immediately.</description>
		<content:encoded><![CDATA[<p>Having &#8220;grown up&#8221; programming in the python community, I always assumed that we invented the term &#8220;duck typing&#8221;. However this was an interesting and informative search: <a href="http://groups.google.com/groups/search?q=%22duck+typing%22&amp;start=370&amp;sa=N&amp;scoring=d&#038;amp" rel="nofollow">http://groups.google.com/groups/search?q=%22duck+typing%22&amp;start=370&amp;sa=N&amp;scoring=d&#038;amp</a>; .</p>
<p>Looks like Rubyists coined the term, but Pythonistas jumped on the bandwagon pretty immediately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NIck</title>
		<link>http://www.taylor.se/blog/2006/10/20/duck-typing-for-c/comment-page-1/#comment-1052</link>
		<dc:creator>NIck</dc:creator>
		<pubDate>Fri, 20 Oct 2006 16:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.taylor.se/blog/2006/10/20/duck-typing-for-c/#comment-1052</guid>
		<description>Why not just do what Visual Studio does by default, and create skeleton implementation of the interface; basically, just a bunch of function prototypes with:

throw new Exception(&quot;This member has not been implemented yet.&quot;);

as the only contents of each?

That seems a lot more &quot;in theme&quot; with C#, than trying to shove a square peg through a round hole.</description>
		<content:encoded><![CDATA[<p>Why not just do what Visual Studio does by default, and create skeleton implementation of the interface; basically, just a bunch of function prototypes with:</p>
<p>throw new Exception(&#8220;This member has not been implemented yet.&#8221;);</p>
<p>as the only contents of each?</p>
<p>That seems a lot more &#8220;in theme&#8221; with C#, than trying to shove a square peg through a round hole.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
