<?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: Scala with Instinct</title>
	<atom:link href="http://adams.id.au/blog/2008/01/scala-with-instinct/feed/" rel="self" type="application/rss+xml" />
	<link>http://adams.id.au/blog/2008/01/scala-with-instinct/</link>
	<description>Technology, mountain biking, politics &#38; music.</description>
	<pubDate>Thu, 09 Sep 2010 04:59:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tony Morris</title>
		<link>http://adams.id.au/blog/2008/01/scala-with-instinct/comment-page-1/#comment-101</link>
		<dc:creator>Tony Morris</dc:creator>
		<pubDate>Mon, 14 Jan 2008 20:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://adams.id.au/blog/2008/01/scala-with-instinct/#comment-101</guid>
		<description>G'day Tom,
Consider losing the braces in your second code sample:

describe "An empty stack" = it "is empty" {}

Also, remember to try not to use = when you have a side-effecting function, so the first code example:

def isEmpty{}

There is similar code to this in ScalaCheck to "test itself" that you might be interested in. You also might consider looking at Specs.</description>
		<content:encoded><![CDATA[<p>G&#8217;day Tom,<br />
Consider losing the braces in your second code sample:</p>
<p>describe &#8220;An empty stack&#8221; = it &#8220;is empty&#8221; {}</p>
<p>Also, remember to try not to use = when you have a side-effecting function, so the first code example:</p>
<p>def isEmpty{}</p>
<p>There is similar code to this in ScalaCheck to &#8220;test itself&#8221; that you might be interested in. You also might consider looking at Specs.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
