<?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: 8 Signs your code sucks</title>
	<atom:link href="http://www.turnleafdesign.com/8-signs-your-code-sucks/feed" rel="self" type="application/rss+xml" />
	<link>http://www.turnleafdesign.com/8-signs-your-code-sucks</link>
	<description>Ramblings of a junior developer</description>
	<lastBuildDate>Thu, 12 Nov 2009 19:56:08 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: LimeSpace &#8211; IT &#187; Der Wochenrückblick:PDF&#8217;s und Zend, ORMs, CSS Tabs</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-374</link>
		<dc:creator>LimeSpace &#8211; IT &#187; Der Wochenrückblick:PDF&#8217;s und Zend, ORMs, CSS Tabs</dc:creator>
		<pubDate>Sat, 31 Oct 2009 06:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-374</guid>
		<description>[...] Starten wir gleich direkt zur Entwicklung durch, ihr meint euer Quellcode rockt? Das dürft ihr erst behaupten wenn diese 8 Zeichen nicht auftreten [8 Signs your code sucks]. [...]</description>
		<content:encoded><![CDATA[<p>[...] Starten wir gleich direkt zur Entwicklung durch, ihr meint euer Quellcode rockt? Das dürft ihr erst behaupten wenn diese 8 Zeichen nicht auftreten [8 Signs your code sucks]. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Fisk</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-357</link>
		<dc:creator>Adam Fisk</dc:creator>
		<pubDate>Sun, 25 Oct 2009 20:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-357</guid>
		<description>I agree with everything, except I&#039;ll pile on with the comments discussion. I agree in principal comments are not necessary in the vast majority of cases. They are necessary when you&#039;re actually coding something difficult that&#039;s not obvious.

You say &quot;I’ve picked up great code written by other developers that had no comments, and I easily understood exactly how it worked.&quot; That&#039;s exactly right - because most code out there is trivial. I&#039;d challenge you to do that the same with some of my NAT traversal code or multi-source downloading code. I don&#039;t know you, but unless you&#039;re on Jonathon Rosenberg&#039;s team at Cisco or something similar, you&#039;re not going to understand it no matter how clean the code is. Read through 200 pages of RFCs plus the plentiful comments, then you&#039;ve got a shot. Otherwise, you&#039;re just not going to get it. If you think there&#039;s a place my code can be cleaner, I&#039;d love to know, but the sheer complexity of the problem is the issue, not the cleanliness of the code.

This has to do with domains and 80/20 type stuff. The vast majority of code you&#039;ll come across is code most people are familiar with, and comments are pointless. Then there&#039;s that 20% that&#039;s way outside your domain and most people&#039;s domains. That&#039;s where you&#039;re screwed without comments.</description>
		<content:encoded><![CDATA[<p>I agree with everything, except I&#8217;ll pile on with the comments discussion. I agree in principal comments are not necessary in the vast majority of cases. They are necessary when you&#8217;re actually coding something difficult that&#8217;s not obvious.</p>
<p>You say &#8220;I’ve picked up great code written by other developers that had no comments, and I easily understood exactly how it worked.&#8221; That&#8217;s exactly right &#8211; because most code out there is trivial. I&#8217;d challenge you to do that the same with some of my NAT traversal code or multi-source downloading code. I don&#8217;t know you, but unless you&#8217;re on Jonathon Rosenberg&#8217;s team at Cisco or something similar, you&#8217;re not going to understand it no matter how clean the code is. Read through 200 pages of RFCs plus the plentiful comments, then you&#8217;ve got a shot. Otherwise, you&#8217;re just not going to get it. If you think there&#8217;s a place my code can be cleaner, I&#8217;d love to know, but the sheer complexity of the problem is the issue, not the cleanliness of the code.</p>
<p>This has to do with domains and 80/20 type stuff. The vast majority of code you&#8217;ll come across is code most people are familiar with, and comments are pointless. Then there&#8217;s that 20% that&#8217;s way outside your domain and most people&#8217;s domains. That&#8217;s where you&#8217;re screwed without comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blog harvest, October II &#171; Schneide Blog</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-356</link>
		<dc:creator>Blog harvest, October II &#171; Schneide Blog</dc:creator>
		<pubDate>Sun, 25 Oct 2009 19:21:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-356</guid>
		<description>[...] 8 Signs your code sucks &#8211; Let&#8217;s assume we all read Martin Fowler&#8217;s classic &#8220;Refactoring&#8221; book, then these eight signs are a mere starter. But as the follow-up post indicates, it got quite a few people started and upset for the &#8220;comments are code smells&#8221; line. Well, we heartfully agree with the premise that comments are clutter and code should be the comment. /* TODO: Add a joke using comments here */ [...]</description>
		<content:encoded><![CDATA[<p>[...] 8 Signs your code sucks &#8211; Let&#8217;s assume we all read Martin Fowler&#8217;s classic &#8220;Refactoring&#8221; book, then these eight signs are a mere starter. But as the follow-up post indicates, it got quite a few people started and upset for the &#8220;comments are code smells&#8221; line. Well, we heartfully agree with the premise that comments are clutter and code should be the comment. /* TODO: Add a joke using comments here */ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caffeine Driven Development &#187; Blog Archive &#187; L33t Links #30</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-355</link>
		<dc:creator>Caffeine Driven Development &#187; Blog Archive &#187; L33t Links #30</dc:creator>
		<pubDate>Sun, 25 Oct 2009 13:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-355</guid>
		<description>[...] 8 Signs your code sucks [...]</description>
		<content:encoded><![CDATA[<p>[...] 8 Signs your code sucks [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy Korando</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-351</link>
		<dc:creator>Billy Korando</dc:creator>
		<pubDate>Sun, 25 Oct 2009 01:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-351</guid>
		<description>I can see how one would think it is hostile. Though to go over how to write code better would require a lot more time and I do plan on going over how to write good code in future articles. 

You did allude to it, but generally well written code should not have deeply nested loop/if structures. Also with well formatted code it shouldn&#039;t be too difficult to find what loop or if you are currently in. As I said in my later article, &lt;img src=&quot;http://www.turnleafdesign.com/?p=255&quot; target=&quot;_blank&quot; alt=&quot;null&quot; /&gt; these signs are guide lines, not rules written in stone.</description>
		<content:encoded><![CDATA[<p>I can see how one would think it is hostile. Though to go over how to write code better would require a lot more time and I do plan on going over how to write good code in future articles. </p>
<p>You did allude to it, but generally well written code should not have deeply nested loop/if structures. Also with well formatted code it shouldn&#8217;t be too difficult to find what loop or if you are currently in. As I said in my later article, <img src="http://www.turnleafdesign.com/?p=255" target="_blank" alt="null" /> these signs are guide lines, not rules written in stone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-350</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 24 Oct 2009 23:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-350</guid>
		<description>I have to say I disagree with this article. I feel its hostile. Instead of saying how to make your code better you just said how it can suck, not much substance. I would always strongly advocate to every developer and my students to use comments as much as humanly possible. Its helpful to just note the why, what the function does if your ending nested if else statements its nice with the indentation to also make a quick note like // end if summer or whatever. I feel that people who don&#039;t use comments must spend half there time re-reading scripts during revision stages again and again because they have no notes. I can see the point your trying to get at, that is that if the line/section of code is really complicated that it needs alot of commenting to explain that maybe it needs to be approached from a different direction.

When I teach people new to coding I tell them three things. Comment your code, approach your idea from all sides, try to think laterally not uni-laterally and if I can&#039;t read your code, then you can&#039;t read and understand it either.</description>
		<content:encoded><![CDATA[<p>I have to say I disagree with this article. I feel its hostile. Instead of saying how to make your code better you just said how it can suck, not much substance. I would always strongly advocate to every developer and my students to use comments as much as humanly possible. Its helpful to just note the why, what the function does if your ending nested if else statements its nice with the indentation to also make a quick note like // end if summer or whatever. I feel that people who don&#8217;t use comments must spend half there time re-reading scripts during revision stages again and again because they have no notes. I can see the point your trying to get at, that is that if the line/section of code is really complicated that it needs alot of commenting to explain that maybe it needs to be approached from a different direction.</p>
<p>When I teach people new to coding I tell them three things. Comment your code, approach your idea from all sides, try to think laterally not uni-laterally and if I can&#8217;t read your code, then you can&#8217;t read and understand it either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Comments are a sign of bad code and I am not sorry for saying it &#124; Turnleaf Design</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-349</link>
		<dc:creator>Comments are a sign of bad code and I am not sorry for saying it &#124; Turnleaf Design</dc:creator>
		<pubDate>Sat, 24 Oct 2009 20:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-349</guid>
		<description>[...] are a sign of bad code and I am not sorry for saying it In my recent article, 8 signs your code sucks, one of my signs of bad code is: “You need to use comments to explain the code.” I have since [...]</description>
		<content:encoded><![CDATA[<p>[...] are a sign of bad code and I am not sorry for saying it In my recent article, 8 signs your code sucks, one of my signs of bad code is: “You need to use comments to explain the code.” I have since [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis Cooley</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-347</link>
		<dc:creator>Curtis Cooley</dc:creator>
		<pubDate>Sat, 24 Oct 2009 15:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-347</guid>
		<description>I&#039;ve picked up great code written by other developers that had no comments, and I easily understood exactly how it worked. As developers it is our responsibility to learn how to read code.

The problem with comments is that as the code grows and matures, they are not kept up to date. How many times have you seen:

/**
* @param name
* @param manager
* @param dept
*/
public void gargleTheFlooble(String name, String manager) {
...
}

Really helpful comments, those.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve picked up great code written by other developers that had no comments, and I easily understood exactly how it worked. As developers it is our responsibility to learn how to read code.</p>
<p>The problem with comments is that as the code grows and matures, they are not kept up to date. How many times have you seen:</p>
<p>/**<br />
* @param name<br />
* @param manager<br />
* @param dept<br />
*/<br />
public void gargleTheFlooble(String name, String manager) {<br />
&#8230;<br />
}</p>
<p>Really helpful comments, those.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SWEngineer</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-345</link>
		<dc:creator>SWEngineer</dc:creator>
		<pubDate>Sat, 24 Oct 2009 09:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-345</guid>
		<description>I think that the &quot;great code explains itself&quot; is, in the end, impossile and just plain stupid :) Try returning to some old code in half a year or a couple of years even, and notice how the comments *do* make things nicer.</description>
		<content:encoded><![CDATA[<p>I think that the &#8220;great code explains itself&#8221; is, in the end, impossile and just plain stupid <img src='http://www.turnleafdesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Try returning to some old code in half a year or a couple of years even, and notice how the comments *do* make things nicer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miroslav Nikolov</title>
		<link>http://www.turnleafdesign.com/8-signs-your-code-sucks/comment-page-1#comment-343</link>
		<dc:creator>Miroslav Nikolov</dc:creator>
		<pubDate>Sat, 24 Oct 2009 07:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.turnleafdesign.com/?p=246#comment-343</guid>
		<description>Most of the tips are true, but sometimes trying to gain speed we forget about OOP and make our code close to procedural.</description>
		<content:encoded><![CDATA[<p>Most of the tips are true, but sometimes trying to gain speed we forget about OOP and make our code close to procedural.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
