<?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: Doc Blocks Rock!</title>
	<atom:link href="http://www.fornax.net/2007/04/doc-blocks-rock/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fornax.net/2007/04/doc-blocks-rock/</link>
	<description>Is Don. Is Good.</description>
	<lastBuildDate>Wed, 10 Mar 2010 23:30:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Travis Swicegood</title>
		<link>http://www.fornax.net/2007/04/doc-blocks-rock/comment-page-1/#comment-35</link>
		<dc:creator>Travis Swicegood</dc:creator>
		<pubDate>Sun, 15 Apr 2007 22:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.fornax.net/2007/04/doc-blocks-rock/#comment-35</guid>
		<description>One thing I would add here is that the unit tests - when following a TDD or test-first approach - answer the question &quot;what should the code do?&quot;  Using a contrived example, if you have a function called add() and your test verifies that 2 + 2 equals 4, the the function body should be: return 2 + 2;

That said, I do know several developers who&#039;s mind works better writing out a quick docblock to start coding.  It start their mind on the &quot;oh wait, what about ...?&quot; path.  It&#039;s what works best for (the rhetorical) you.  I tend toward tests because that&#039;s something I can reproduce later.</description>
		<content:encoded><![CDATA[<p>One thing I would add here is that the unit tests &#8211; when following a TDD or test-first approach &#8211; answer the question &#8220;what should the code do?&#8221;  Using a contrived example, if you have a function called add() and your test verifies that 2 + 2 equals 4, the the function body should be: return 2 + 2;</p>
<p>That said, I do know several developers who&#8217;s mind works better writing out a quick docblock to start coding.  It start their mind on the &#8220;oh wait, what about &#8230;?&#8221; path.  It&#8217;s what works best for (the rhetorical) you.  I tend toward tests because that&#8217;s something I can reproduce later.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

