<?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: Comments aren&#8217;t always evil</title>
	<atom:link href="http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/</link>
	<description>What's the simplest thing that could possibly go wrong?</description>
	<lastBuildDate>Mon, 30 Jan 2012 16:30:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: FND</title>
		<link>http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/comment-page-1/#comment-35631</link>
		<dc:creator>FND</dc:creator>
		<pubDate>Wed, 19 Aug 2009 12:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.org/?p=330#comment-35631</guid>
		<description>Thanks Kerry.
I actually agree with that description. So I guess it&#039;s just the &quot;comments are evil&quot; rallying cry being a bit &lt;em&gt;too&lt;/em&gt; misleading...</description>
		<content:encoded><![CDATA[<p>Thanks Kerry.<br />
I actually agree with that description. So I guess it&#8217;s just the &#8220;comments are evil&#8221; rallying cry being a bit <em>too</em> misleading&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/comment-page-1/#comment-35584</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Sun, 16 Aug 2009 16:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.org/?p=330#comment-35584</guid>
		<description>You could use a method whose name explains what the line of code does but it would probably be reflexively inlined by someone who sees it later anyway.</description>
		<content:encoded><![CDATA[<p>You could use a method whose name explains what the line of code does but it would probably be reflexively inlined by someone who sees it later anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kerry</title>
		<link>http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/comment-page-1/#comment-35571</link>
		<dc:creator>Kerry</dc:creator>
		<pubDate>Sat, 15 Aug 2009 20:52:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.org/?p=330#comment-35571</guid>
		<description>Obviously &#039;evil&#039; is, as ever, an exaggeration, but comments should be a last resort. Much better to make the intention clear by, for example, extracting a local variable or provate method and giving it a meaningful name. Obviously there are some cases where comments are useful, but I like to only put them in when I can&#039;t think of a way of clarifying things in the code itself.

The insidious thing about unnecessary comments is that they tend to go out-of-date. People change the code, but leave the comments, so they end up describing behaviour that&#039;s no longer there, or they get separated from the code they were supposed to describe.</description>
		<content:encoded><![CDATA[<p>Obviously &#8216;evil&#8217; is, as ever, an exaggeration, but comments should be a last resort. Much better to make the intention clear by, for example, extracting a local variable or provate method and giving it a meaningful name. Obviously there are some cases where comments are useful, but I like to only put them in when I can&#8217;t think of a way of clarifying things in the code itself.</p>
<p>The insidious thing about unnecessary comments is that they tend to go out-of-date. People change the code, but leave the comments, so they end up describing behaviour that&#8217;s no longer there, or they get separated from the code they were supposed to describe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FND</title>
		<link>http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/comment-page-1/#comment-35570</link>
		<dc:creator>FND</dc:creator>
		<pubDate>Sat, 15 Aug 2009 20:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrybuckley.org/?p=330#comment-35570</guid>
		<description>So shortly after posting about the evilness of code comments, comments on your blog stop working? Interesting...

Anyway, why are comments evil?
(Your link leads to a 1 hr podcast... )

Sure, they can be overused - but they can also be very useful and important.

Even Python code (*bait*) isn&#039;t always obvious enough to not require explanatory comments.

As a general rule of thumb, I think the code explains the *what* while comments explain the *why*.

I&#039;d rather have too much commenting than too little.</description>
		<content:encoded><![CDATA[<p>So shortly after posting about the evilness of code comments, comments on your blog stop working? Interesting&#8230;</p>
<p>Anyway, why are comments evil?<br />
(Your link leads to a 1 hr podcast&#8230; )</p>
<p>Sure, they can be overused &#8211; but they can also be very useful and important.</p>
<p>Even Python code (*bait*) isn&#8217;t always obvious enough to not require explanatory comments.</p>
<p>As a general rule of thumb, I think the code explains the *what* while comments explain the *why*.</p>
<p>I&#8217;d rather have too much commenting than too little.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.418 seconds -->

