<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gergisKhan&#039;s Empire &#187; Java</title>
	<atom:link href="http://gergiskhan.gergis.net/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://gergiskhan.gergis.net</link>
	<description>The Cake is a LIE.</description>
	<lastBuildDate>Thu, 11 Nov 2010 04:10:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Test-Driven Development and the Scientific Method</title>
		<link>http://gergiskhan.gergis.net/2006/10/27/test-driven-development-and-the-scientific-method/</link>
		<comments>http://gergiskhan.gergis.net/2006/10/27/test-driven-development-and-the-scientific-method/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 05:00:42 +0000</pubDate>
		<dc:creator>gergisKhan</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://gergiskhan.gergis.net/?p=232</guid>
		<description><![CDATA[Today I had a very interesting conversation with my colleague Joel. We were discussing the very obvious advantages of some of the work we&#8217;d been doing using test driven design/development. In TDD, one writes unit tests first, and then codes to match the test. The result is more robust code, a test class that demonstrates [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had a very interesting conversation with my colleague Joel. We were discussing the very obvious advantages of some of the work we&#8217;d been doing using test driven design/development. In TDD, one writes unit tests first, and then codes to match the test. The result is more robust code, a test class that demonstrates how the code is to be used, and a unit test that accurately depicts what the requirements are.</p>
<p>Suffice it to say the conversation waxed philosophical, whereupon I mused on the following: test driven development is most like the scientific method. In the scientific method, one first creates a hypothesis (requirements), designs an experiment or experiments to test said hypothesis (unit test), performs the experiment, usually in a lab (write code), and finally, logs the conclusions of the experiments (view the results of the unit test &#8211; success or failure). Immediately, Joel seized upon this with a light in his eyes, declaring that in many ways, traditional development models are more like philosophy, whereas TDD is more like science. Traditional models require that you write a design document first &#8211; and then defend it in some sort of design review. Well, that&#8217;s more like what&#8217;s required for a Ph. D. as opposed to the TDD model which is structured more like a science experiment.</p>
<p>I might just have to write a paper. Quoth the Joel: &#8220;Using test driven design/development is more scientific.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://gergiskhan.gergis.net/2006/10/27/test-driven-development-and-the-scientific-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

