<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for The Disco Blog</title>
	<link>http://thediscoblog.com</link>
	<description>Can you dig it man?</description>
	<pubDate>Sat, 05 Jul 2008 20:29:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>Comment on Component test repeatability by example of getdataset t</title>
		<link>http://thediscoblog.com/2006/02/23/component-test-repeatability/#comment-68913</link>
		<dc:creator>example of getdataset t</dc:creator>
		<pubDate>Sat, 05 Jul 2008 20:08:18 +0000</pubDate>
		<guid>http://thediscoblog.com/2006/02/23/component-test-repeatability/#comment-68913</guid>
		<description>[...] is located via the getdataset method. ... however, this can be tedious work and doesn????????t ...http://thediscoblog.com/2006/02/23/component-test-repeatability/Read "Re: How to execute MS Access Query using JDBC?" at Java Forum...help me : I can design the [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] is located via the getdataset method. &#8230; however, this can be tedious work and doesn????????t &#8230;http://thediscoblog.com/2006/02/23/component-test-repeatability/Read &#8220;Re: How to execute MS Access Query using JDBC?&#8221; at Java Forum&#8230;help me : I can design the [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rethinking the traditional DAO pattern by rails 2 0 oracle</title>
		<link>http://thediscoblog.com/2008/06/17/rethinking-the-traditional-dao-pattern/#comment-68855</link>
		<dc:creator>rails 2 0 oracle</dc:creator>
		<pubDate>Sat, 05 Jul 2008 11:45:29 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/06/17/rethinking-the-traditional-dao-pattern/#comment-68855</guid>
		<description>[...] resource??s hip client interface from its data access mechanisms??? meaning that clients to a partichttp://thediscoblog.com/2008/06/17/rethinking-the-traditional-dao-pattern/scroll down to read an excerpt from this article - ACM QueueTune in to learn how oracle plans to [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] resource??s hip client interface from its data access mechanisms??? meaning that clients to a <a href="partichttp://thediscoblog.com/2008/06/17/rethinking-the-traditional-dao-pattern/scroll" rel="nofollow">partichttp://thediscoblog.com/2008/06/17/rethinking-the-traditional-dao-pattern/scroll</a> down to read an excerpt from this article - ACM QueueTune in to learn how oracle plans to [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s ok to wet yourself every once in awhile by Ricky Clarkson</title>
		<link>http://thediscoblog.com/2008/07/02/its-ok-to-wet-yourself-every-once-in-awhile/#comment-68461</link>
		<dc:creator>Ricky Clarkson</dc:creator>
		<pubDate>Wed, 02 Jul 2008 22:04:53 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/07/02/its-ok-to-wet-yourself-every-once-in-awhile/#comment-68461</guid>
		<description>I don't even know which language the above is written in, so please bear my made-up syntax:

{ given "a VIP customer"
  and "given they have at least 3 items"
  and "the 3 items total at least $x"
  x = 30 =&#62; scenario "VIP customer with 3 items, over $30 receiving 10% discount" { then "they should receive a 10% discount" }
  x = 100 =&#62; scenario "VIP customer with 3 items, over $100 receiving 15% discount" { then "they should receive a 10% discount" } }

I was really hoping you had a good use case for avoiding DRY - I've been wondering whether there are any.

Incidentally, I'd rather write the code this way:

customers filter (customer =&#62; customer.isVip &#38;&#38; customer.items.size == 3) all (customer =&#62; HashMap(100 -&#62; 15, 30 -&#62; 10).highestLessThan(customer.items.price) == customer.items.discount)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t even know which language the above is written in, so please bear my made-up syntax:</p>
<p>{ given &#8220;a VIP customer&#8221;<br />
  and &#8220;given they have at least 3 items&#8221;<br />
  and &#8220;the 3 items total at least $x&#8221;<br />
  x = 30 =&gt; scenario &#8220;VIP customer with 3 items, over $30 receiving 10% discount&#8221; { then &#8220;they should receive a 10% discount&#8221; }<br />
  x = 100 =&gt; scenario &#8220;VIP customer with 3 items, over $100 receiving 15% discount&#8221; { then &#8220;they should receive a 10% discount&#8221; } }</p>
<p>I was really hoping you had a good use case for avoiding DRY - I&#8217;ve been wondering whether there are any.</p>
<p>Incidentally, I&#8217;d rather write the code this way:</p>
<p>customers filter (customer =&gt; customer.isVip &amp;&amp; customer.items.size == 3) all (customer =&gt; HashMap(100 -&gt; 15, 30 -&gt; 10).highestLessThan(customer.items.price) == customer.items.discount)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s ok to wet yourself every once in awhile by Rich Sharpe</title>
		<link>http://thediscoblog.com/2008/07/02/its-ok-to-wet-yourself-every-once-in-awhile/#comment-68422</link>
		<dc:creator>Rich Sharpe</dc:creator>
		<pubDate>Wed, 02 Jul 2008 17:22:41 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/07/02/its-ok-to-wet-yourself-every-once-in-awhile/#comment-68422</guid>
		<description>I can see how this &lt;i&gt;could&lt;/i&gt; be a benefit in easyB. - Anything that can eliminate ambiguity from the BA's writing easyB stories is a good thing.
However if one of your statements is wrong you still have to go and change all occurrences - are you going to find them all?

EasyB is terrifically easy to learn and it isn't difficult to teach someone about set-ups and tear downs.
Maybe an EasyB scenario 'constant' or 'set' could be created so a well named variable could be used rather than a set up so a customer/BA can  still understand and you don't abuse the DRY principle?</description>
		<content:encoded><![CDATA[<p>I can see how this <i>could</i> be a benefit in easyB. - Anything that can eliminate ambiguity from the BA&#8217;s writing easyB stories is a good thing.<br />
However if one of your statements is wrong you still have to go and change all occurrences - are you going to find them all?</p>
<p>EasyB is terrifically easy to learn and it isn&#8217;t difficult to teach someone about set-ups and tear downs.<br />
Maybe an EasyB scenario &#8216;constant&#8217; or &#8217;set&#8217; could be created so a well named variable could be used rather than a set up so a customer/BA can  still understand and you don&#8217;t abuse the DRY principle?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s ok to wet yourself every once in awhile by Clint Shank</title>
		<link>http://thediscoblog.com/2008/07/02/its-ok-to-wet-yourself-every-once-in-awhile/#comment-68418</link>
		<dc:creator>Clint Shank</dc:creator>
		<pubDate>Wed, 02 Jul 2008 15:53:21 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/07/02/its-ok-to-wet-yourself-every-once-in-awhile/#comment-68418</guid>
		<description>I'm not sure I like the word "tactics".  It sounds like it may refer to implementation details.

How about WET = wholly express the tale?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I like the word &#8220;tactics&#8221;.  It sounds like it may refer to implementation details.</p>
<p>How about WET = wholly express the tale?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s ok to wet yourself every once in awhile by Philip Schwarz</title>
		<link>http://thediscoblog.com/2008/07/02/its-ok-to-wet-yourself-every-once-in-awhile/#comment-68403</link>
		<dc:creator>Philip Schwarz</dc:creator>
		<pubDate>Wed, 02 Jul 2008 12:44:12 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/07/02/its-ok-to-wet-yourself-every-once-in-awhile/#comment-68403</guid>
		<description>Gerard Meszaros in &lt;a href="http://xunitpatterns.com/index.html" rel="nofollow"&gt;XUnit Test Patterns - Refactoring Test Code&lt;/a&gt;:

The DRY principle—"Don't repeat yourself"—of the Pragmatic Programmers (http://www.pragmaticprogrammer.com) should be applied to test code in the same way it is applied to production code. There is, however, a counterforce at play. Because the tests should Communicate Intent, it is best to keep the core test logic in each Test Method so it can be seen in one place. Nevertheless, this idea doesn't preclude moving a lot of supporting code into &lt;a href="http://xunitpatterns.com/Test%20Utility%20Method.html" rel="nofollow"&gt;Test Utility Methods&lt;/a&gt;, where it needs to be modified in only one place if it is affected by a change in the SUT.</description>
		<content:encoded><![CDATA[<p>Gerard Meszaros in <a href="http://xunitpatterns.com/index.html" rel="nofollow">XUnit Test Patterns - Refactoring Test Code</a>:</p>
<p>The DRY principle—&#8221;Don&#8217;t repeat yourself&#8221;—of the Pragmatic Programmers (http://www.pragmaticprogrammer.com) should be applied to test code in the same way it is applied to production code. There is, however, a counterforce at play. Because the tests should Communicate Intent, it is best to keep the core test logic in each Test Method so it can be seen in one place. Nevertheless, this idea doesn&#8217;t preclude moving a lot of supporting code into <a href="http://xunitpatterns.com/Test%20Utility%20Method.html" rel="nofollow">Test Utility Methods</a>, where it needs to be modified in only one place if it is affected by a change in the SUT.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on easyb 0.9 hits the streets by Rod Coffin&#8217;s Weblog &#187; Blog Archive &#187; easyb 0.9 released</title>
		<link>http://thediscoblog.com/2008/07/01/easyb-09-hits-the-streets/#comment-68205</link>
		<dc:creator>Rod Coffin&#8217;s Weblog &#187; Blog Archive &#187; easyb 0.9 released</dc:creator>
		<pubDate>Tue, 01 Jul 2008 14:27:29 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/07/01/easyb-09-hits-the-streets/#comment-68205</guid>
		<description>[...] 0.9! The official announcement including an overview of new features and enhancements can be found here. I am personally very excited by the addition of narrative blocks which allow context of a story to [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] 0.9! The official announcement including an overview of new features and enhancements can be found here. I am personally very excited by the addition of narrative blocks which allow context of a story to [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on easyb 0.9 hits the streets by plug value</title>
		<link>http://thediscoblog.com/2008/07/01/easyb-09-hits-the-streets/#comment-68199</link>
		<dc:creator>plug value</dc:creator>
		<pubDate>Tue, 01 Jul 2008 13:36:59 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/07/01/easyb-09-hits-the-streets/#comment-68199</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;]  [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Easy fixtures easyb style by The Disco Blog &#187; Blog Archive &#187; easyb 0.9 hits the streets</title>
		<link>http://thediscoblog.com/2008/05/16/easy-fixtures-easyb-style/#comment-68052</link>
		<dc:creator>The Disco Blog &#187; Blog Archive &#187; easyb 0.9 hits the streets</dc:creator>
		<pubDate>Tue, 01 Jul 2008 01:38:31 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/05/16/easy-fixtures-easyb-style/#comment-68052</guid>
		<description>[...] Fixtures! [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Fixtures! [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rethinking the traditional DAO pattern by Software Development</title>
		<link>http://thediscoblog.com/2008/06/17/rethinking-the-traditional-dao-pattern/#comment-67953</link>
		<dc:creator>Software Development</dc:creator>
		<pubDate>Mon, 30 Jun 2008 09:09:19 +0000</pubDate>
		<guid>http://thediscoblog.com/2008/06/17/rethinking-the-traditional-dao-pattern/#comment-67953</guid>
		<description>hey

Really nice tips!

will try to keep it in my mind 

thanks!</description>
		<content:encoded><![CDATA[<p>hey</p>
<p>Really nice tips!</p>
<p>will try to keep it in my mind </p>
<p>thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
