<?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 for The Old Sewing Factory</title>
	<atom:link href="http://theoldsewingfactory.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://theoldsewingfactory.com</link>
	<description>No more than my online scratch pad.</description>
	<lastBuildDate>Mon, 10 Oct 2011 20:23:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on A Better Guard Class by Rob White</title>
		<link>http://theoldsewingfactory.com/2011/10/10/a-better-guard-class/#comment-119</link>
		<dc:creator>Rob White</dc:creator>
		<pubDate>Mon, 10 Oct 2011 20:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=256#comment-119</guid>
		<description>It&#039;s about intent. Your example is functional, it will work and on many levels there is nothing wrong with it. However, it does not clearly express what you intend the code to do. Since the code will be read many more times than it&#039;s coded I would rather it is slightly easier to read, in any places that I can.

Your point about adding additional data to the exception is a good one. I don&#039;t think it would be very difficult to create something that reads like Throw&lt;Exception&gt;.WithMessage(&quot;fail&quot;).AndTheData(someData).When(youSuck == true);</description>
		<content:encoded><![CDATA[<p>It&#8217;s about intent. Your example is functional, it will work and on many levels there is nothing wrong with it. However, it does not clearly express what you intend the code to do. Since the code will be read many more times than it&#8217;s coded I would rather it is slightly easier to read, in any places that I can.</p>
<p>Your point about adding additional data to the exception is a good one. I don&#8217;t think it would be very difficult to create something that reads like Throw<exception>.WithMessage(&#8220;fail&#8221;).AndTheData(someData).When(youSuck == true);</exception></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Better Guard Class by Jeremy Walker</title>
		<link>http://theoldsewingfactory.com/2011/10/10/a-better-guard-class/#comment-118</link>
		<dc:creator>Jeremy Walker</dc:creator>
		<pubDate>Mon, 10 Oct 2011 18:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=256#comment-118</guid>
		<description>This all strikes me as a little overkill. I can&#039;t see the advantage of this over a simple if and throw:

if string.IsNullOrEmpty(serverName)
    throw new InvalidOperationException(&quot;Server name must be provided.&quot;);

If you&#039;re going to add extra functionality, like logging etc, then it makes more sense, but even then it just feels like a lot of extra wording to remember for something really simple. Maybe that&#039;s just me being out of touch with VS&#039;s autocomplete, but it feels like something that could be a simple method call is becoming a bloated chain of events. Also, from an extendibility POV, what happens if you want to pass other data to the exception? Suddenly, you&#039;re going to need up daisy chain the static methods etc. 

Beer to discuss further? Pie tonight?</description>
		<content:encoded><![CDATA[<p>This all strikes me as a little overkill. I can&#8217;t see the advantage of this over a simple if and throw:</p>
<p>if string.IsNullOrEmpty(serverName)<br />
    throw new InvalidOperationException(&#8220;Server name must be provided.&#8221;);</p>
<p>If you&#8217;re going to add extra functionality, like logging etc, then it makes more sense, but even then it just feels like a lot of extra wording to remember for something really simple. Maybe that&#8217;s just me being out of touch with VS&#8217;s autocomplete, but it feels like something that could be a simple method call is becoming a bloated chain of events. Also, from an extendibility POV, what happens if you want to pass other data to the exception? Suddenly, you&#8217;re going to need up daisy chain the static methods etc. </p>
<p>Beer to discuss further? Pie tonight?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unit Testing in 1995, Hello ASP .Net Membership Providers by Leo Moore</title>
		<link>http://theoldsewingfactory.com/2011/01/07/unit-testing-in-1995-hello-asp-net-membership-providers/#comment-117</link>
		<dc:creator>Leo Moore</dc:creator>
		<pubDate>Wed, 03 Aug 2011 09:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=193#comment-117</guid>
		<description>Thanks for your post Rob.</description>
		<content:encoded><![CDATA[<p>Thanks for your post Rob.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unit Testing in 1995, Hello ASP .Net Membership Providers by Leo Moore</title>
		<link>http://theoldsewingfactory.com/2011/01/07/unit-testing-in-1995-hello-asp-net-membership-providers/#comment-116</link>
		<dc:creator>Leo Moore</dc:creator>
		<pubDate>Wed, 03 Aug 2011 09:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=193#comment-116</guid>
		<description>Membership really is an untestable mess. It could really do with a fluent interface.</description>
		<content:encoded><![CDATA[<p>Membership really is an untestable mess. It could really do with a fluent interface.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Forcing Culture Settings in WCF by JiPe-Freckles</title>
		<link>http://theoldsewingfactory.com/2011/04/04/forcing-culture-settings-in-wcf/#comment-115</link>
		<dc:creator>JiPe-Freckles</dc:creator>
		<pubDate>Thu, 28 Jul 2011 18:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=222#comment-115</guid>
		<description>Hello Rob,

After all, i would like to say good work.
I pass my journey ti try to do the same think, but no success. Do you think it is possible to share with me your example please?

Thank you
Best regards</description>
		<content:encoded><![CDATA[<p>Hello Rob,</p>
<p>After all, i would like to say good work.<br />
I pass my journey ti try to do the same think, but no success. Do you think it is possible to share with me your example please?</p>
<p>Thank you<br />
Best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Saving CSV files in UTF8 Creates Â Characters in Excel by Tristan</title>
		<link>http://theoldsewingfactory.com/2010/12/05/saving-csv-files-in-utf8-creates-a-characters-in-excel/#comment-114</link>
		<dc:creator>Tristan</dc:creator>
		<pubDate>Tue, 28 Jun 2011 14:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=164#comment-114</guid>
		<description>I went through exactly the same process, I was just looking at alternative encodings and found your solution - which which works great for Excel 2003.

Thanks very much.</description>
		<content:encoded><![CDATA[<p>I went through exactly the same process, I was just looking at alternative encodings and found your solution &#8211; which which works great for Excel 2003.</p>
<p>Thanks very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Migrator .Net Code Templates by FluentMigrator Code Templates</title>
		<link>http://theoldsewingfactory.com/2010/09/30/migrator-net-code-templates/#comment-102</link>
		<dc:creator>FluentMigrator Code Templates</dc:creator>
		<pubDate>Tue, 17 May 2011 21:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=122#comment-102</guid>
		<description>[...] little while back I created some migrator.net code templates. Since I’ve now moved over to using FluentMigrator it seemed only reasonable that I port the [...]</description>
		<content:encoded><![CDATA[<p>[...] little while back I created some migrator.net code templates. Since I’ve now moved over to using FluentMigrator it seemed only reasonable that I port the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enable SSL in web.config for SmtpClient by ilivewithian</title>
		<link>http://theoldsewingfactory.com/2011/01/06/enable-ssl-in-web-config-for-smtpclient/#comment-99</link>
		<dc:creator>ilivewithian</dc:creator>
		<pubDate>Sat, 30 Apr 2011 14:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=186#comment-99</guid>
		<description>Odd, it worked fine for me (so far as I remember).</description>
		<content:encoded><![CDATA[<p>Odd, it worked fine for me (so far as I remember).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Enable SSL in web.config for SmtpClient by David</title>
		<link>http://theoldsewingfactory.com/2011/01/06/enable-ssl-in-web-config-for-smtpclient/#comment-98</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 28 Apr 2011 00:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.com/?p=186#comment-98</guid>
		<description>Although it doesn&#039;t actually work: http://msdn.microsoft.com/en-us/library/ms164242.aspx#CommunityContentHeader</description>
		<content:encoded><![CDATA[<p>Although it doesn&#8217;t actually work: <a href="http://msdn.microsoft.com/en-us/library/ms164242.aspx#CommunityContentHeader" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms164242.aspx#CommunityContentHeader</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Prevent Autofill / Autocomplete of a Web Form by ilivewithian</title>
		<link>http://theoldsewingfactory.com/2009/01/20/prevent-autofill-autocomplete-of-a-web-form/#comment-95</link>
		<dc:creator>ilivewithian</dc:creator>
		<pubDate>Fri, 01 Apr 2011 09:06:44 +0000</pubDate>
		<guid isPermaLink="false">http://theoldsewingfactory.wordpress.com/?p=35#comment-95</guid>
		<description>I&#039;m glad you like what you see.</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you like what you see.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

