<?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 are evil</title>
	<atom:link href="http://mark-kirby.co.uk/2009/comments-are-evil/feed/" rel="self" type="application/rss+xml" />
	<link>http://mark-kirby.co.uk/2009/comments-are-evil/</link>
	<description>I'm a user focused mobile developer, here is where I publish advice and thoughts on building great mobile apps</description>
	<lastBuildDate>Tue, 07 Sep 2010 09:43:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Keith Elder</title>
		<link>http://mark-kirby.co.uk/2009/comments-are-evil/comment-page-1/#comment-2655</link>
		<dc:creator>Keith Elder</dc:creator>
		<pubDate>Fri, 21 Aug 2009 22:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=583#comment-2655</guid>
		<description>Mark,

Thanks for lilstening to Deep Fried and thanks for taking the time to blog your experience after listening to the show.  Reading your post makes the long nights of recordings and post production work worth it to know we may have helped someone.  

Great read.

Thanks,

Keith Elder
http://twitter.com/keithelder</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thanks for lilstening to Deep Fried and thanks for taking the time to blog your experience after listening to the show.  Reading your post makes the long nights of recordings and post production work worth it to know we may have helped someone.  </p>
<p>Great read.</p>
<p>Thanks,</p>
<p>Keith Elder<br />
<a href="http://twitter.com/keithelder" rel="nofollow">http://twitter.com/keithelder</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kirby.mark</title>
		<link>http://mark-kirby.co.uk/2009/comments-are-evil/comment-page-1/#comment-2652</link>
		<dc:creator>kirby.mark</dc:creator>
		<pubDate>Fri, 21 Aug 2009 14:35:03 +0000</pubDate>
		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=583#comment-2652</guid>
		<description>Hi Jack, thanks for your thoughts.

I agree that comments can have their place, but just using them without thinking and describing everything can be a waste of time. A well named method - for example, &quot;moveFirstItemToEndOfList&quot;, shouldn&#039;t need any more explanation if the context its in is obvious. They shouldn&#039;t be crutch to write unreadable and abstract code. If you are writing easy to understand code, the rest of team should be able to just follow it. That&#039;s the theory at least!</description>
		<content:encoded><![CDATA[<p>Hi Jack, thanks for your thoughts.</p>
<p>I agree that comments can have their place, but just using them without thinking and describing everything can be a waste of time. A well named method &#8211; for example, &#8220;moveFirstItemToEndOfList&#8221;, shouldn&#8217;t need any more explanation if the context its in is obvious. They shouldn&#8217;t be crutch to write unreadable and abstract code. If you are writing easy to understand code, the rest of team should be able to just follow it. That&#8217;s the theory at least!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack Moxley</title>
		<link>http://mark-kirby.co.uk/2009/comments-are-evil/comment-page-1/#comment-2651</link>
		<dc:creator>Jack Moxley</dc:creator>
		<pubDate>Fri, 21 Aug 2009 12:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://mark-kirby.co.uk/?p=583#comment-2651</guid>
		<description>Aghhh the world of mobile with 20 classes and a few thousand lines of code developed by a maximum of 5 people. 

Try writing an enterprise level application with a minimum of 20 people and millions of lines of code without comments. For the first month it will be fine. the 2nd month will be irritating and the 3rd month you will be doing nothing but answering other peoples queries.

Comments should do 2 things.
1: Tell you what the method/class does (and not how it works)
2: mark problematic or unfinished code with TODOs (unfinished code does exist in the real world and it needs some way of maintance).

In order for this to work.
Methods should be small (200 lines is way too big)
Methods that are in effect State machines should be commentted for each state change.
Methods and Classes should be well named.

But mostly
Abstraction is not your friend, unless you need to do the same thing twice, something normally reserved for API&#039;s.

BTW java developers have a documentation from code generator its called javadoc.</description>
		<content:encoded><![CDATA[<p>Aghhh the world of mobile with 20 classes and a few thousand lines of code developed by a maximum of 5 people. </p>
<p>Try writing an enterprise level application with a minimum of 20 people and millions of lines of code without comments. For the first month it will be fine. the 2nd month will be irritating and the 3rd month you will be doing nothing but answering other peoples queries.</p>
<p>Comments should do 2 things.<br />
1: Tell you what the method/class does (and not how it works)<br />
2: mark problematic or unfinished code with TODOs (unfinished code does exist in the real world and it needs some way of maintance).</p>
<p>In order for this to work.<br />
Methods should be small (200 lines is way too big)<br />
Methods that are in effect State machines should be commentted for each state change.<br />
Methods and Classes should be well named.</p>
<p>But mostly<br />
Abstraction is not your friend, unless you need to do the same thing twice, something normally reserved for API&#8217;s.</p>
<p>BTW java developers have a documentation from code generator its called javadoc.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
