<?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: Code Comments: The Lowest Form of Communication</title>
	<atom:link href="http://blog.james-carr.org/2009/10/15/code-comments-the-lowest-form-of-communication/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.james-carr.org/2009/10/15/code-comments-the-lowest-form-of-communication/</link>
	<description>Rants and Musings of an Agile Developer</description>
	<lastBuildDate>Thu, 26 Jan 2012 11:54:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: James Carr</title>
		<link>http://blog.james-carr.org/2009/10/15/code-comments-the-lowest-form-of-communication/#comment-115825</link>
		<dc:creator>James Carr</dc:creator>
		<pubDate>Tue, 20 Oct 2009 13:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=543#comment-115825</guid>
		<description>Hi Ted,

Thanks for the comments! Amusingly, my biggest pet peeve right now has to do with comments that are in legacy code that I have been tasked with cleaning up and adding new features too. 

I&#039;d prefer clear, working unit tests over code comments any day when maintaining code, and I am sure others would too. Which would you prefer? A bunch of outdated code comments that don&#039;t help much or a suite of unit tests/specs that fail if you do something in the code that breaks things? I surely know I would prefer the latter. ;)</description>
		<content:encoded><![CDATA[<p>Hi Ted,</p>
<p>Thanks for the comments! Amusingly, my biggest pet peeve right now has to do with comments that are in legacy code that I have been tasked with cleaning up and adding new features too. </p>
<p>I&#8217;d prefer clear, working unit tests over code comments any day when maintaining code, and I am sure others would too. Which would you prefer? A bunch of outdated code comments that don&#8217;t help much or a suite of unit tests/specs that fail if you do something in the code that breaks things? I surely know I would prefer the latter. <img src='http://blog.james-carr.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Wise</title>
		<link>http://blog.james-carr.org/2009/10/15/code-comments-the-lowest-form-of-communication/#comment-115749</link>
		<dc:creator>Ted Wise</dc:creator>
		<pubDate>Mon, 19 Oct 2009 17:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=543#comment-115749</guid>
		<description>&#039;No comments&#039; only works if the code you wrote won&#039;t outlive your memory and your stint with the employer you wrote the code for.

Forgetting that not all development is agile and that many teams are geographically distributed, you need to understand that you and your co-workers won&#039;t be the eventual caretakers of the code.

Whoever takes over control of your code needs to be able to understand it and to understand the low-level decisions that were made in the code.  &#039;Why does the code always call the service twice in a row?&#039;  &#039;Why did you use an array when a hash would seem to fit better?&#039;

You seem to be primarily concerned with ad-hoc coding decisions being made by a single developer who passive-agressively notifies the rest of the team through comments.  That&#039;s a management problem, not a reason to ban comments.  And it&#039;s the least important problem.  Your comments shouldn&#039;t be a communication medium to the developer in the next cube, they should be communications to the maintenance developer two years down the road.</description>
		<content:encoded><![CDATA[<p>&#8216;No comments&#8217; only works if the code you wrote won&#8217;t outlive your memory and your stint with the employer you wrote the code for.</p>
<p>Forgetting that not all development is agile and that many teams are geographically distributed, you need to understand that you and your co-workers won&#8217;t be the eventual caretakers of the code.</p>
<p>Whoever takes over control of your code needs to be able to understand it and to understand the low-level decisions that were made in the code.  &#8216;Why does the code always call the service twice in a row?&#8217;  &#8216;Why did you use an array when a hash would seem to fit better?&#8217;</p>
<p>You seem to be primarily concerned with ad-hoc coding decisions being made by a single developer who passive-agressively notifies the rest of the team through comments.  That&#8217;s a management problem, not a reason to ban comments.  And it&#8217;s the least important problem.  Your comments shouldn&#8217;t be a communication medium to the developer in the next cube, they should be communications to the maintenance developer two years down the road.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Is commenting your code useless? &#124; CodeUtopia - The blog of Jani Hartikainen</title>
		<link>http://blog.james-carr.org/2009/10/15/code-comments-the-lowest-form-of-communication/#comment-115476</link>
		<dc:creator>Is commenting your code useless? &#124; CodeUtopia - The blog of Jani Hartikainen</dc:creator>
		<pubDate>Thu, 15 Oct 2009 16:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.james-carr.org/?p=543#comment-115476</guid>
		<description>[...] Carr has written a well argumented post about comments. To sum it up shortly, he says comments are the lowest form of communication, and that commenting [...]</description>
		<content:encoded><![CDATA[<p>[...] Carr has written a well argumented post about comments. To sum it up shortly, he says comments are the lowest form of communication, and that commenting [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

