<?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 Virtual Surreality</title>
	<atom:link href="http://grahamis.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://grahamis.com/blog</link>
	<description>It&#039;s too real to be true</description>
	<lastBuildDate>Mon, 22 Feb 2010 06:27:16 +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 Hashrocket man (and I think it&#8217;s gonna be a long, long time) by Nick Carroll</title>
		<link>http://grahamis.com/blog/2010/01/19/hashrocket-man/comment-page-1/#comment-449</link>
		<dc:creator>Nick Carroll</dc:creator>
		<pubDate>Mon, 22 Feb 2010 06:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/?p=150#comment-449</guid>
		<description>Hey Josh,

Always thought you were a bit of a space cadet!  :p

Congrats on the new job, and hope all is well!

Cheers,
Nick.</description>
		<content:encoded><![CDATA[<p>Hey Josh,</p>
<p>Always thought you were a bit of a space cadet!  :p</p>
<p>Congrats on the new job, and hope all is well!</p>
<p>Cheers,<br />
Nick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Escape the literal prison. by Saager Mhatre</title>
		<link>http://grahamis.com/blog/2009/09/20/escape-the-literal-prison/comment-page-1/#comment-446</link>
		<dc:creator>Saager Mhatre</dc:creator>
		<pubDate>Fri, 13 Nov 2009 05:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/?p=96#comment-446</guid>
		<description>Oh, and I just remembered http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)</description>
		<content:encoded><![CDATA[<p>Oh, and I just remembered <a href="http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)" rel="nofollow">http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Escape the literal prison. by Saager Mhatre</title>
		<link>http://grahamis.com/blog/2009/09/20/escape-the-literal-prison/comment-page-1/#comment-445</link>
		<dc:creator>Saager Mhatre</dc:creator>
		<pubDate>Fri, 13 Nov 2009 05:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/?p=96#comment-445</guid>
		<description>Wouldn&#039;t it have been easier to simply use single quotes in JavaScript?
I usually go with single quotes in JavaScript unless it becomes specifically necessary to use doubles. Saves me a lot of trouble.</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t it have been easier to simply use single quotes in JavaScript?<br />
I usually go with single quotes in JavaScript unless it becomes specifically necessary to use doubles. Saves me a lot of trouble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Escape the literal prison. by JG</title>
		<link>http://grahamis.com/blog/2009/09/20/escape-the-literal-prison/comment-page-1/#comment-442</link>
		<dc:creator>JG</dc:creator>
		<pubDate>Mon, 21 Sep 2009 03:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/?p=96#comment-442</guid>
		<description>Josh!!! That&#039;s one of the first questions on the 5.0 certification exam - difference between replace() and replaceAll()</description>
		<content:encoded><![CDATA[<p>Josh!!! That&#8217;s one of the first questions on the 5.0 certification exam &#8211; difference between replace() and replaceAll()</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Stop writing shitty software and stop poverty. by Twitted by friendofasquid</title>
		<link>http://grahamis.com/blog/2007/09/20/stop-writing-shitty-software-and-stop-poverty/comment-page-1/#comment-439</link>
		<dc:creator>Twitted by friendofasquid</dc:creator>
		<pubDate>Tue, 08 Sep 2009 14:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/2007/09/20/stop-writing-shitty-software-and-stop-poverty/#comment-439</guid>
		<description>[...] This post was Twitted by friendofasquid [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was Twitted by friendofasquid [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Indian Summer by Sudhindra Rao</title>
		<link>http://grahamis.com/blog/2009/08/07/indian-summer/comment-page-1/#comment-436</link>
		<dc:creator>Sudhindra Rao</dc:creator>
		<pubDate>Fri, 07 Aug 2009 20:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/2009/08/07/indian-summer/#comment-436</guid>
		<description>Hey RoganJoshG... 
There I called you what you wanted to be called.
;)
-Sudhindra</description>
		<content:encoded><![CDATA[<p>Hey RoganJoshG&#8230;<br />
There I called you what you wanted to be called.<br />
 <img src='http://grahamis.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
-Sudhindra</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Assertions: actual or expected first? by Srushti</title>
		<link>http://grahamis.com/blog/2009/06/05/assertions_actual_or_expected_first/comment-page-1/#comment-435</link>
		<dc:creator>Srushti</dc:creator>
		<pubDate>Sat, 06 Jun 2009 06:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/2009/06/05/assertions_actual_or_expected_first/#comment-435</guid>
		<description>On my last project (.net) I created extension methods for assertions as a wrapper around NUnit assertions.

public static void ShouldBe(this T actual, T expected);

The assertions would then read x.ShouldBe(20).

You can also extend this by adding other methods for other assertions:

public static void ShouldBeTrue(this bool actual);

public static void ShouldBeAtLeast(this int actual, int expected);

...and so on.</description>
		<content:encoded><![CDATA[<p>On my last project (.net) I created extension methods for assertions as a wrapper around NUnit assertions.</p>
<p>public static void ShouldBe(this T actual, T expected);</p>
<p>The assertions would then read x.ShouldBe(20).</p>
<p>You can also extend this by adding other methods for other assertions:</p>
<p>public static void ShouldBeTrue(this bool actual);</p>
<p>public static void ShouldBeAtLeast(this int actual, int expected);</p>
<p>&#8230;and so on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Assertions: actual or expected first? by Nick Drew</title>
		<link>http://grahamis.com/blog/2009/06/05/assertions_actual_or_expected_first/comment-page-1/#comment-434</link>
		<dc:creator>Nick Drew</dc:creator>
		<pubDate>Sat, 06 Jun 2009 03:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/2009/06/05/assertions_actual_or_expected_first/#comment-434</guid>
		<description>So in (rspec originated) BDD we have  should matcher
In hamcrest we have assertthat( actual, matcher )
In old Junit we have Assert( expected, actual )
In mstest we have a mix of Assert( actual, expected ) and CollectionsAssert.Contains( actual, element )

All pretty inconsistent.

I have to say that I may I find it easier to maintain complex assertions with the matcher syntax.
For complex document traversals, I may start of with:

assertThat( document, hasXPath( &quot;//book[@title=&#039;&quot; + expected_title + &quot;&#039;] ))

but after writing too many very similar xpath expressions,  I may find myself with the following:

assertThat( document, hasBook( hasTitle( expected_title ), hasAuthor( expected_author ) )

I find that evolution very powerful, and I find it more convenient to keep the actual values lined up on the left side while the equivalence classes/matchers fluctutate on the right hand side.</description>
		<content:encoded><![CDATA[<p>So in (rspec originated) BDD we have  should matcher<br />
In hamcrest we have assertthat( actual, matcher )<br />
In old Junit we have Assert( expected, actual )<br />
In mstest we have a mix of Assert( actual, expected ) and CollectionsAssert.Contains( actual, element )</p>
<p>All pretty inconsistent.</p>
<p>I have to say that I may I find it easier to maintain complex assertions with the matcher syntax.<br />
For complex document traversals, I may start of with:</p>
<p>assertThat( document, hasXPath( &#8220;//book[@title='" + expected_title + "'] ))</p>
<p>but after writing too many very similar xpath expressions,  I may find myself with the following:</p>
<p>assertThat( document, hasBook( hasTitle( expected_title ), hasAuthor( expected_author ) )</p>
<p>I find that evolution very powerful, and I find it more convenient to keep the actual values lined up on the left side while the equivalence classes/matchers fluctutate on the right hand side.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JAOO Australia 2009 by Wow</title>
		<link>http://grahamis.com/blog/2009/03/31/jaoo-australia-2009/comment-page-1/#comment-433</link>
		<dc:creator>Wow</dc:creator>
		<pubDate>Wed, 01 Apr 2009 08:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/2009/04/01/jaoo-australia-2009/#comment-433</guid>
		<description>Wow Josh - looks like your wife blogs a whole lot more than you do!</description>
		<content:encoded><![CDATA[<p>Wow Josh &#8211; looks like your wife blogs a whole lot more than you do!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeMash by Colin Jack</title>
		<link>http://grahamis.com/blog/2008/11/26/codemash/comment-page-1/#comment-432</link>
		<dc:creator>Colin Jack</dc:creator>
		<pubDate>Fri, 13 Feb 2009 21:14:29 +0000</pubDate>
		<guid isPermaLink="false">http://grahamis.com/blog/2008/11/26/codemash/#comment-432</guid>
		<description>So was wonder, did it get recorded? :P</description>
		<content:encoded><![CDATA[<p>So was wonder, did it get recorded? <img src='http://grahamis.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
