<?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 sleepy dev</title>
	<atom:link href="http://thesleepydev.co.uk/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://thesleepydev.co.uk</link>
	<description>soporific software development</description>
	<lastBuildDate>Tue, 27 Jul 2010 08:10:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Static methods: feel the fear and do it anyway by Mark</title>
		<link>http://thesleepydev.co.uk/?p=184&#038;cpage=1#comment-25</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 27 Jul 2010 08:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=184#comment-25</guid>
		<description>I like this idea a lot. I usually follow ReSharper&#039;s suggestion, since I believe that marking a method as static lets the reader know that it won&#039;t change the object&#039;s state (which is valuable information) and also it prevents a future maintainer from accidentally causing some state-changing side-effect. 

However, I don&#039;t usually think about reviewing the static methods I have so I can turn them into instance methods on a new class (or an existing class, if appropriate). From now on, I will! :-)</description>
		<content:encoded><![CDATA[<p>I like this idea a lot. I usually follow ReSharper&#8217;s suggestion, since I believe that marking a method as static lets the reader know that it won&#8217;t change the object&#8217;s state (which is valuable information) and also it prevents a future maintainer from accidentally causing some state-changing side-effect. </p>
<p>However, I don&#8217;t usually think about reviewing the static methods I have so I can turn them into instance methods on a new class (or an existing class, if appropriate). From now on, I will! <img src='http://thesleepydev.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark codec for OpenRasta by thesleepydev</title>
		<link>http://thesleepydev.co.uk/?p=120&#038;cpage=1#comment-24</link>
		<dc:creator>thesleepydev</dc:creator>
		<pubDate>Mon, 26 Jul 2010 07:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=120#comment-24</guid>
		<description>Hi Howard,

Thanks!

There is an updated version on Github (see note at top of the screen). I would suggest looking at that. If you have stuff to contribute do send me a pull request!
thanks

jen</description>
		<content:encoded><![CDATA[<p>Hi Howard,</p>
<p>Thanks!</p>
<p>There is an updated version on Github (see note at top of the screen). I would suggest looking at that. If you have stuff to contribute do send me a pull request!<br />
thanks</p>
<p>jen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark codec for OpenRasta by Howard van Rooijen</title>
		<link>http://thesleepydev.co.uk/?p=120&#038;cpage=1#comment-23</link>
		<dc:creator>Howard van Rooijen</dc:creator>
		<pubDate>Sat, 24 Jul 2010 08:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=120#comment-23</guid>
		<description>Hello,

Wonderful work on the codec - I tried to get it working this week - but it seems that it is slightly out of sync with the latest version of OpenRasta 2.0.3.0 - I&#039;ve made the changes required. What&#039;s the best way of submitting this patch - I&#039;ve far too used to working in Git rather than SVN. Actually if you had the inclination - moving the project to GitHub might make it easier for the community to help support the codec.

Thanks for all the hard work,

Howard</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Wonderful work on the codec &#8211; I tried to get it working this week &#8211; but it seems that it is slightly out of sync with the latest version of OpenRasta 2.0.3.0 &#8211; I&#8217;ve made the changes required. What&#8217;s the best way of submitting this patch &#8211; I&#8217;ve far too used to working in Git rather than SVN. Actually if you had the inclination &#8211; moving the project to GitHub might make it easier for the community to help support the codec.</p>
<p>Thanks for all the hard work,</p>
<p>Howard</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark codec for OpenRasta by RobertTheGrey</title>
		<link>http://thesleepydev.co.uk/?p=120&#038;cpage=1#comment-22</link>
		<dc:creator>RobertTheGrey</dc:creator>
		<pubDate>Wed, 21 Jul 2010 17:14:13 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=120#comment-22</guid>
		<description>This is top stuff!

Your extentions are almost identical to what the Bindings features gives ASP.NET MVC users. Fantastic use of the framework.</description>
		<content:encoded><![CDATA[<p>This is top stuff!</p>
<p>Your extentions are almost identical to what the Bindings features gives ASP.NET MVC users. Fantastic use of the framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark codec for OpenRasta by thesleepydev</title>
		<link>http://thesleepydev.co.uk/?p=120&#038;cpage=1#comment-21</link>
		<dc:creator>thesleepydev</dc:creator>
		<pubDate>Wed, 28 Apr 2010 18:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=120#comment-21</guid>
		<description>Erm, as it works in OR it should manage both, but having a try is probably the best thing! </description>
		<content:encoded><![CDATA[<p>Erm, as it works in OR it should manage both, but having a try is probably the best thing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark codec for OpenRasta by DaRage</title>
		<link>http://thesleepydev.co.uk/?p=120&#038;cpage=1#comment-20</link>
		<dc:creator>DaRage</dc:creator>
		<pubDate>Fri, 09 Apr 2010 14:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=120#comment-20</guid>
		<description>Very interesting. Does this run outside IIS or it requires IIS like the webform codec?</description>
		<content:encoded><![CDATA[<p>Very interesting. Does this run outside IIS or it requires IIS like the webform codec?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark codec for OpenRasta by thesleepydev</title>
		<link>http://thesleepydev.co.uk/?p=120&#038;cpage=1#comment-11</link>
		<dc:creator>thesleepydev</dc:creator>
		<pubDate>Sun, 31 May 2009 15:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=120#comment-11</guid>
		<description>Thanks! It wasn&#039;t hard to figure out after I followed the word &#039;extension&#039; around in the code for a while to see what it did - that&#039;s the beauty of open source code - it documents itself! Tried to override some of the behaviour of WCF once (as you are supposedly able to) and it just had me tearing my hair out, documentation or no documentation...</description>
		<content:encoded><![CDATA[<p>Thanks! It wasn&#8217;t hard to figure out after I followed the word &#8216;extension&#8217; around in the code for a while to see what it did &#8211; that&#8217;s the beauty of open source code &#8211; it documents itself! Tried to override some of the behaviour of WCF once (as you are supposedly able to) and it just had me tearing my hair out, documentation or no documentation&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark codec for OpenRasta by Louis DeJardin</title>
		<link>http://thesleepydev.co.uk/?p=120&#038;cpage=1#comment-10</link>
		<dc:creator>Louis DeJardin</dc:creator>
		<pubDate>Fri, 29 May 2009 23:48:28 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=120#comment-10</guid>
		<description>Remarkable! 

Excellent work hooking into the undocumented parser extension interface. It was added originally for the MonoRail Spark view engine to weld ViewComponent instances into place by the element name without the core library&#039;s knowledge of their implementation details. ViewComponent is sort of like MonoRail&#039;s approach to web controls.

Never guessed the extension interface would be used to augment the parser with framework-specific markup syntax. Very clever.</description>
		<content:encoded><![CDATA[<p>Remarkable! </p>
<p>Excellent work hooking into the undocumented parser extension interface. It was added originally for the MonoRail Spark view engine to weld ViewComponent instances into place by the element name without the core library&#8217;s knowledge of their implementation details. ViewComponent is sort of like MonoRail&#8217;s approach to web controls.</p>
<p>Never guessed the extension interface would be used to augment the parser with framework-specific markup syntax. Very clever.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adventures in BDD style testing &#8211; too many scenarios! by thesleepydev</title>
		<link>http://thesleepydev.co.uk/?p=87&#038;cpage=1#comment-9</link>
		<dc:creator>thesleepydev</dc:creator>
		<pubDate>Wed, 06 May 2009 16:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=87#comment-9</guid>
		<description>Code smell? I suppose it is the programming equivalent of stinking bishop!

Anyway, you are right really - with those three bits of assertion I was testing, I was still measuring just one real behaviour - that the save operation failed with a nice error message. I guess I was just getting carried away with tests.

Only nice thing about splitting it out into separate tests is that you get the benefit of having three separate failure points - if the test fails cos it calls save AND doesn&#039;t return the right message then in the original scenario I would get two failing tests whereas here I would just get one failing test.</description>
		<content:encoded><![CDATA[<p>Code smell? I suppose it is the programming equivalent of stinking bishop!</p>
<p>Anyway, you are right really &#8211; with those three bits of assertion I was testing, I was still measuring just one real behaviour &#8211; that the save operation failed with a nice error message. I guess I was just getting carried away with tests.</p>
<p>Only nice thing about splitting it out into separate tests is that you get the benefit of having three separate failure points &#8211; if the test fails cos it calls save AND doesn&#8217;t return the right message then in the original scenario I would get two failing tests whereas here I would just get one failing test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adventures in BDD style testing &#8211; too many scenarios! by Jon Neale</title>
		<link>http://thesleepydev.co.uk/?p=87&#038;cpage=1#comment-8</link>
		<dc:creator>Jon Neale</dc:creator>
		<pubDate>Tue, 05 May 2009 14:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://thesleepydev.co.uk/?p=87#comment-8</guid>
		<description>Having to repeat only slightly different test code seems like a smell to me. If your test code becomes a nightmare to maintain, you&#039;ll lose confidence in it, and therefore half the reason for having it. 

Personally, I&#039;d try to divide and conquer. Couldn&#039;t you have something like 

[Test]
public void Result_is_failure()
{
    Result_should_fail_with_message(&quot;Moon is not in the seventh house);
}

Result__should_fail_with_message(string message)
{
    Result.Success.ShouldBeFalse();
    Result.Message.ShouldEqual(message);
    MyRepository.SaveWasNotCalled();
}

It would make thing much more maintainable if you should decide later on that maybe you want your conditions to change slightly</description>
		<content:encoded><![CDATA[<p>Having to repeat only slightly different test code seems like a smell to me. If your test code becomes a nightmare to maintain, you&#8217;ll lose confidence in it, and therefore half the reason for having it. </p>
<p>Personally, I&#8217;d try to divide and conquer. Couldn&#8217;t you have something like </p>
<p>[Test]<br />
public void Result_is_failure()<br />
{<br />
    Result_should_fail_with_message(&#8220;Moon is not in the seventh house);<br />
}</p>
<p>Result__should_fail_with_message(string message)<br />
{<br />
    Result.Success.ShouldBeFalse();<br />
    Result.Message.ShouldEqual(message);<br />
    MyRepository.SaveWasNotCalled();<br />
}</p>
<p>It would make thing much more maintainable if you should decide later on that maybe you want your conditions to change slightly</p>
]]></content:encoded>
	</item>
</channel>
</rss>
