<?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>andrewmccall.com &#187; Test-driven development</title>
	<atom:link href="http://andrewmccall.com/tag/test-driven-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmccall.com</link>
	<description>If you want to know what I think...</description>
	<lastBuildDate>Wed, 02 Jun 2010 20:24:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I have no idea what I&#8217;m doing</title>
		<link>http://andrewmccall.com/2008/10/i-have-no-idea-what-im-doing/</link>
		<comments>http://andrewmccall.com/2008/10/i-have-no-idea-what-im-doing/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 20:32:12 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[Computer programming]]></category>
		<category><![CDATA[shotgun programing]]></category>
		<category><![CDATA[Test-driven development]]></category>
		<category><![CDATA[tests]]></category>
		<category><![CDATA[Trial and error]]></category>
		<category><![CDATA[Unit Tests]]></category>

		<guid isPermaLink="false">http://andrewmccall.com/?p=177</guid>
		<description><![CDATA[It&#8217;s very, very hard for us to admit that we&#8217;re wrong, let alone that we have no clue what we&#8217;re ...]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very, very hard for us to admit that we&#8217;re wrong, let alone that we have no clue what we&#8217;re doing. The first step of course is being able to admit that you&#8217;ve got a problem and before you can admit you have a problem you need to be able to recognise that you&#8217;ve got one. </p>
<p>I came to the shocking realisation the other day, that I was guilty of not really know what I was doing. I came across a subtle bug in some of my code; my unit tests were passing but in production things weren&#8217;t working as I expected. I dug deeper and got a vague idea of what was happening, then I engaged in <strong>shotgun programing</strong>. </p>
<p>I knew I was doing it too. I had no idea what I was doing, and I knew it. I just started hacking away at my code, solving one problem and introducing another. Basically I knew where the problem was and as if it were some small animal rustling in the bushes nearby I just blasted away its general direction and just hoped I hit it, whatever it was. </p>
<p>I eventually solved the problem, and eventually understood what was going on; but it was touch and go there for a while. The problem wasn&#8217;t so much my trial and error approach, that did eventually solve the problem. It was more that I had no idea why I was trying the solutions I was trying, more specifically why I thought they were plausible I was just pointing in the general direction of the problem and letting loose.<br />
<h6 class="zemanta-related-title" style="font-size:1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.readwriteweb.com/archives/12_unit_testing_tips_for_software_engineers.php">12 Unit Testing Tips for Software Engineers</a></li>
<li class="zemanta-article-ul-li"><a href="http://kyle.mathews2000.com/blog/2008/06/23/a-unit-testing-success-story">A unit testing success story</a></li>
<li class="zemanta-article-ul-li"><a href="http://www.xaprb.com/blog/2008/08/18/how-maatkit-benefits-from-test-driven-development/">How Maatkit benefits from test-driven development</a></li>
<li class="zemanta-article-ul-li"><a href="http://www.zemanta.com/blog/?p=32">Quality assurance</a></li>
</ul>
<div class="zemanta-pixie" style="margin-top:10px;height:15px"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/430649c2-b311-40d6-9327-918b5905f6ee/" title="Zemified by Zemanta"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_c.png?x-id=430649c2-b311-40d6-9327-918b5905f6ee" alt="Reblog this post [with Zemanta]" style="border:none;float:right"></a></div>
]]></content:encoded>
			<wfw:commentRss>http://andrewmccall.com/2008/10/i-have-no-idea-what-im-doing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
