<?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: Twelve Benefits of Writing Unit Tests First</title>
	<atom:link href="http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first</link>
	<description>Stories of an Independent Author (née Software Guy)</description>
	<lastBuildDate>Fri, 03 Jul 2009 01:31:40 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Doug</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-171178</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 07 May 2009 13:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-171178</guid>
		<description>I am new to TDD, having been driven there in desperation after my brain ran out of space to contain enough of the code in working memory to debug it. When you need a bigger brain, it&#039;s time for unit tests.

As a newbie (but I hope a rational one) I am assessing the pros and cons of this approach.
Pros: No need for a bigger brain
I can write tests in the language of my choice (python &amp; numpy in my case)
[insert 12 other reasons here]

Cons: I am writing mathematical functions so I still need code to generate the tests (unless I test at the level of A=B*C, which is silly), so the code is written twice
Significant refactoring of code requires significant refactoring of the tests unless I write the &quot;God test&quot; which is useful, but hardly TDD</description>
		<content:encoded><![CDATA[<p>I am new to TDD, having been driven there in desperation after my brain ran out of space to contain enough of the code in working memory to debug it. When you need a bigger brain, it&#8217;s time for unit tests.</p>
<p>As a newbie (but I hope a rational one) I am assessing the pros and cons of this approach.<br />
Pros: No need for a bigger brain<br />
I can write tests in the language of my choice (python &amp; numpy in my case)<br />
[insert 12 other reasons here]</p>
<p>Cons: I am writing mathematical functions so I still need code to generate the tests (unless I test at the level of A=B*C, which is silly), so the code is written twice<br />
Significant refactoring of code requires significant refactoring of the tests unless I write the &#8220;God test&#8221; which is useful, but hardly TDD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blog-to Show Visitors, Welcome! &#187; J. Timothy King's Blog</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-128447</link>
		<dc:creator>Blog-to Show Visitors, Welcome! &#187; J. Timothy King's Blog</dc:creator>
		<pubDate>Sat, 26 Jul 2008 21:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-128447</guid>
		<description>[...] &#8220;Twelve Benefits of Writing Unit Tests First&#8221; [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8220;Twelve Benefits of Writing Unit Tests First&#8221; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geek Drivel &#187; Blog Archive &#187; &#8220;Twelve Benefits of Writing Unit Tests First&#8221;</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-59361</link>
		<dc:creator>Geek Drivel &#187; Blog Archive &#187; &#8220;Twelve Benefits of Writing Unit Tests First&#8221;</dc:creator>
		<pubDate>Tue, 09 Oct 2007 16:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-59361</guid>
		<description>[...] ran across this post today. It&#8217;s more than a year old, but it&#8217;s still quite [...]</description>
		<content:encoded><![CDATA[<p>[...] ran across this post today. It&#8217;s more than a year old, but it&#8217;s still quite [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. Timothy King&#8217;s Blog &#187; Blog Archive &#187; Does Bad Writing Reflect Poor Programming Skills?</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-10181</link>
		<dc:creator>J. Timothy King&#8217;s Blog &#187; Blog Archive &#187; Does Bad Writing Reflect Poor Programming Skills?</dc:creator>
		<pubDate>Fri, 15 Dec 2006 16:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-10181</guid>
		<description>[...] Understand the material before you write. If you understand the material, you should be able to explain it to a four-year-old. If you don&#8217;t understand it, you won&#8217;t be able to explain it to anyone. You&#8217;d think this would go without saying. You&#8217;d think that programmers particularly would understand the code they write. But frequently they don&#8217;t. If they did, they would use unit tests. Instead, they tweak and hack until the code does what they think it&#8217;s supposed to. And they end up with a mess. And then they do it to their comments and other documents, too. This is what causes a lot of comments like &#8220;This member is the anticipation for audio data to synchronize with the video frames in an interleaved AVI.&#8221; The developer who wrote this probably knew how to tweak the data value to get the result he wanted. But he very possibly did not understand what that value actually represented and how it conceptually fit into the rest of the system. [...]</description>
		<content:encoded><![CDATA[<p>[...] Understand the material before you write. If you understand the material, you should be able to explain it to a four-year-old. If you don&#8217;t understand it, you won&#8217;t be able to explain it to anyone. You&#8217;d think this would go without saying. You&#8217;d think that programmers particularly would understand the code they write. But frequently they don&#8217;t. If they did, they would use unit tests. Instead, they tweak and hack until the code does what they think it&#8217;s supposed to. And they end up with a mess. And then they do it to their comments and other documents, too. This is what causes a lot of comments like &#8220;This member is the anticipation for audio data to synchronize with the video frames in an interleaved AVI.&#8221; The developer who wrote this probably knew how to tweak the data value to get the result he wanted. But he very possibly did not understand what that value actually represented and how it conceptually fit into the rest of the system. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2006-10-18 &#171; Ashish Kulkarni&#8217;s Journal</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-9079</link>
		<dc:creator>links for 2006-10-18 &#171; Ashish Kulkarni&#8217;s Journal</dc:creator>
		<pubDate>Wed, 18 Oct 2006 22:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-9079</guid>
		<description>[...] Twelve Benefits of Writing Unit Tests First The ones I found significant: [...]</description>
		<content:encoded><![CDATA[<p>[...] Twelve Benefits of Writing Unit Tests First The ones I found significant: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twelve benefits for doing TDD &#171; exceptionz</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-8064</link>
		<dc:creator>Twelve benefits for doing TDD &#171; exceptionz</dc:creator>
		<pubDate>Tue, 29 Aug 2006 11:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-8064</guid>
		<description>[...] J. Timothy King list the following twelve benefits you get from doing Test-First programming: [...]</description>
		<content:encoded><![CDATA[<p>[...] J. Timothy King list the following twelve benefits you get from doing Test-First programming: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Йордан Димитров</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-7783</link>
		<dc:creator>Йордан Димитров</dc:creator>
		<pubDate>Tue, 08 Aug 2006 09:17:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-7783</guid>
		<description>&lt;strong&gt;Интересни връзки 2&lt;/strong&gt;

C# Best Coding Practices
Naming Conventions for UI ControlsStringBuilder
vs. String / Fast String Operations...</description>
		<content:encoded><![CDATA[<p><strong>Интересни връзки 2</strong></p>
<p>C# Best Coding Practices<br />
Naming Conventions for UI ControlsStringBuilder<br />
vs. String / Fast String Operations&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Exploded Clown &#187; Blog Archive &#187; Twelve Benefits of Writing Unit Tests First</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-7767</link>
		<dc:creator>Exploded Clown &#187; Blog Archive &#187; Twelve Benefits of Writing Unit Tests First</dc:creator>
		<pubDate>Mon, 07 Aug 2006 03:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-7767</guid>
		<description>[...] Twelve Benefits of Writing Unit Tests First: How do you solve a software problem? How do they teach you to handle it in school? What&#8217;s the first thing you do? You think about how to solve it. You ask, &#8220;What code will I write to generate a solution?&#8221; But that&#8217;s backward. The first thing you should be doing&#8212; In fact, this is what they say in school, too, though in my experience it&#8217;s paid more lip-service than actual service&#8212; The first thing you ask is not &#8220;What code will I write?&#8221; The first thing you ask is &#8220;How will I know that I&#8217;ve solved the problem?&#8221; [...]</description>
		<content:encoded><![CDATA[<p>[...] Twelve Benefits of Writing Unit Tests First: How do you solve a software problem? How do they teach you to handle it in school? What&rsquo;s the first thing you do? You think about how to solve it. You ask, &ldquo;What code will I write to generate a solution?&rdquo; But that&rsquo;s backward. The first thing you should be doing&mdash; In fact, this is what they say in school, too, though in my experience it&rsquo;s paid more lip-service than actual service&mdash; The first thing you ask is not &ldquo;What code will I write?&rdquo; The first thing you ask is &ldquo;How will I know that I&rsquo;ve solved the problem?&rdquo; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul, Kerri and The Boys &#187; links for 2006-07-30</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-7679</link>
		<dc:creator>Paul, Kerri and The Boys &#187; links for 2006-07-30</dc:creator>
		<pubDate>Sun, 30 Jul 2006 05:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-7679</guid>
		<description>[...] Twelve Benefits of Writing Unit Tests First TDD (tags: pm scrum work sdlc) [...]</description>
		<content:encoded><![CDATA[<p>[...] Twelve Benefits of Writing Unit Tests First TDD (tags: pm scrum work sdlc) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Orbiz Technology Blog</title>
		<link>http://blog.jtimothyking.com/2006/07/11/twelve-benefits-of-writing-unit-tests-first/comment-page-1#comment-7643</link>
		<dc:creator>Orbiz Technology Blog</dc:creator>
		<pubDate>Sun, 23 Jul 2006 20:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.jtse.com/blog/?p=73#comment-7643</guid>
		<description>&lt;strong&gt;Twelve benefits for doing TDD&lt;/strong&gt;

</description>
		<content:encoded><![CDATA[<p><strong>Twelve benefits for doing TDD</strong></p>
]]></content:encoded>
	</item>
</channel>
</rss>
