<?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: Bad code is good for you?</title>
	<atom:link href="http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/</link>
	<description>Dagfinn Reiersøl on PHP, agile development, Ruby and other addictive substances</description>
	<lastBuildDate>Fri, 19 Feb 2010 06:52:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: keyur patel</title>
		<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/comment-page-1/#comment-796</link>
		<dc:creator>keyur patel</dc:creator>
		<pubDate>Fri, 19 Feb 2010 06:33:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1630#comment-796</guid>
		<description>most important requirement of any code or piece of software is to perform a task or set of tasks

if the code is performing / doing the assigned task successfully, then coding practice is seen next

bad code can harmful, but no. 1 priority is functionality</description>
		<content:encoded><![CDATA[<p>most important requirement of any code or piece of software is to perform a task or set of tasks</p>
<p>if the code is performing / doing the assigned task successfully, then coding practice is seen next</p>
<p>bad code can harmful, but no. 1 priority is functionality</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Renner</title>
		<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/comment-page-1/#comment-700</link>
		<dc:creator>Chris Renner</dc:creator>
		<pubDate>Thu, 01 Oct 2009 11:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1630#comment-700</guid>
		<description>@ Maracas.  I&#039;m pretty sure nobody ever intends to write bad code, myself included.  I think the #1 spec for any job should be &quot;does it deliver the functionality the customer wanted?&quot;  The elegance of the solution is secondary to actually achieving the desired outcome.  We have the luxury of then going back and making the code prettier later as we learn better ways of doing things.

I think bad code is a greater phenomenon among us solo developers.  Folks working in teams probably have a lot more processes in place to mitigate code that doesn&#039;t fit their agreed upon standards.

In the end, much of what makes code &quot;bad&quot; is subjective, and we&#039;re only talking about this because a group of seasoned PHP developers have gotten together (albeit not formally around a table) and over time decided what &quot;good&quot; code is.

Ultimately, &quot;good&quot; code is just a suggestion, and though I have no beef with most of it, I do reserve the prerogative to do things my own way when I disagree with the accepted standards.</description>
		<content:encoded><![CDATA[<p>@ Maracas.  I&#8217;m pretty sure nobody ever intends to write bad code, myself included.  I think the #1 spec for any job should be &#8220;does it deliver the functionality the customer wanted?&#8221;  The elegance of the solution is secondary to actually achieving the desired outcome.  We have the luxury of then going back and making the code prettier later as we learn better ways of doing things.</p>
<p>I think bad code is a greater phenomenon among us solo developers.  Folks working in teams probably have a lot more processes in place to mitigate code that doesn&#8217;t fit their agreed upon standards.</p>
<p>In the end, much of what makes code &#8220;bad&#8221; is subjective, and we&#8217;re only talking about this because a group of seasoned PHP developers have gotten together (albeit not formally around a table) and over time decided what &#8220;good&#8221; code is.</p>
<p>Ultimately, &#8220;good&#8221; code is just a suggestion, and though I have no beef with most of it, I do reserve the prerogative to do things my own way when I disagree with the accepted standards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maracas</title>
		<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/comment-page-1/#comment-699</link>
		<dc:creator>Maracas</dc:creator>
		<pubDate>Thu, 01 Oct 2009 07:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1630#comment-699</guid>
		<description>Hi Chris, I&#039;ve been programming PHP for a couple of years. My bad code isn&#039;t intentional, but without being able to afford certain software, it&#039;s the only way I can do certain things. Maybe it isn&#039;t even that bad anyway, no one has ever really looked at it to tell me. I feel if it does the job quickly enough then it&#039;s alright by me, and my users will never know.</description>
		<content:encoded><![CDATA[<p>Hi Chris, I&#8217;ve been programming PHP for a couple of years. My bad code isn&#8217;t intentional, but without being able to afford certain software, it&#8217;s the only way I can do certain things. Maybe it isn&#8217;t even that bad anyway, no one has ever really looked at it to tell me. I feel if it does the job quickly enough then it&#8217;s alright by me, and my users will never know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Radcliff</title>
		<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/comment-page-1/#comment-695</link>
		<dc:creator>Scott Radcliff</dc:creator>
		<pubDate>Thu, 01 Oct 2009 01:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1630#comment-695</guid>
		<description>Not only do I agree with the comments about bad code, I know developers become better by writing bad code. I can remember the days of bloated functions with several lines of code. Now look back and see that I should have pulled some of that code out and make a few separate functions instead of having one function perform several tasks. Without that painfully bloated function, I wouldn&#039;t see the value of a function perform one task.</description>
		<content:encoded><![CDATA[<p>Not only do I agree with the comments about bad code, I know developers become better by writing bad code. I can remember the days of bloated functions with several lines of code. Now look back and see that I should have pulled some of that code out and make a few separate functions instead of having one function perform several tasks. Without that painfully bloated function, I wouldn&#8217;t see the value of a function perform one task.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre Liem</title>
		<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/comment-page-1/#comment-689</link>
		<dc:creator>Andre Liem</dc:creator>
		<pubDate>Wed, 30 Sep 2009 18:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1630#comment-689</guid>
		<description>Interesting idea and definitely some truth to it.  Of course the question is what is bad code? 

If bad code is like &quot;hardcoding&quot; in places where it shouldn&#039;t happen, and maybe some inefficient loops, calls to the DB, but if the overall architecture follows a good pattern and process then &quot;bad code&quot; is acceptable.  You can eventually work on this later on when optimizations and refactoring is needed.

On the other and, if by bad code you mean redundant coding, no particular patterns... I don&#039;t think this is ever good.

I would take the approach that acceptable &quot;bad code&quot; is the kind that doesn&#039;t mean you have to do a complete rewrite if the application takes off, grows in size.  If it limits growth because it&#039;s just hard to change and understand, that&#039;s bad code that I wouldn&#039;t want :).  

nice article btw!</description>
		<content:encoded><![CDATA[<p>Interesting idea and definitely some truth to it.  Of course the question is what is bad code? </p>
<p>If bad code is like &#8220;hardcoding&#8221; in places where it shouldn&#8217;t happen, and maybe some inefficient loops, calls to the DB, but if the overall architecture follows a good pattern and process then &#8220;bad code&#8221; is acceptable.  You can eventually work on this later on when optimizations and refactoring is needed.</p>
<p>On the other and, if by bad code you mean redundant coding, no particular patterns&#8230; I don&#8217;t think this is ever good.</p>
<p>I would take the approach that acceptable &#8220;bad code&#8221; is the kind that doesn&#8217;t mean you have to do a complete rewrite if the application takes off, grows in size.  If it limits growth because it&#8217;s just hard to change and understand, that&#8217;s bad code that I wouldn&#8217;t want <img src='http://blog.agilephp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  </p>
<p>nice article btw!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Renner</title>
		<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/comment-page-1/#comment-687</link>
		<dc:creator>Chris Renner</dc:creator>
		<pubDate>Wed, 30 Sep 2009 16:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1630#comment-687</guid>
		<description>@ Rois, i have had exactly the same experiences.  I&#039;m now going back and refactoring one of my earlier spaghetti-code applications and trying to find even better (and hopefully cleaner) ways to do things.

@ Marcas, I&#039;m pretty sure my stuff would be considered ugly by many of the thought leaders in the PHP field, but its light years beyond where I started. There&#039;s so much space between newb and expert, I&#039;m not sure any of us really get to the end of the journey.</description>
		<content:encoded><![CDATA[<p>@ Rois, i have had exactly the same experiences.  I&#8217;m now going back and refactoring one of my earlier spaghetti-code applications and trying to find even better (and hopefully cleaner) ways to do things.</p>
<p>@ Marcas, I&#8217;m pretty sure my stuff would be considered ugly by many of the thought leaders in the PHP field, but its light years beyond where I started. There&#8217;s so much space between newb and expert, I&#8217;m not sure any of us really get to the end of the journey.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rois Cannon</title>
		<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/comment-page-1/#comment-684</link>
		<dc:creator>Rois Cannon</dc:creator>
		<pubDate>Tue, 29 Sep 2009 17:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1630#comment-684</guid>
		<description>I&#039;d have to agree that of coarse clean code and standards should be an important goal for every programmer.  BUT just as important is encouraging coders to take a chance and be creative.  Try something new but realize that there is always a better way and don&#039;t stop learning how to be better at what you love to do.  I&#039;ve been coding for quite a few years now and even though I know my early work is spaghetti it stirred my creative juices and is still being used quite a bit 6 years after I originally started writing it.  I jumped in and made it work however I could.  When you create something useful that people actually use every day it&#039;s encouraging.  I&#039;m learning new stuff everyday.  Having to maintain my own application is what spurred me on to be a better coder.  Encourage better coding practices by mentoring and encouraging others in your language of choice.</description>
		<content:encoded><![CDATA[<p>I&#8217;d have to agree that of coarse clean code and standards should be an important goal for every programmer.  BUT just as important is encouraging coders to take a chance and be creative.  Try something new but realize that there is always a better way and don&#8217;t stop learning how to be better at what you love to do.  I&#8217;ve been coding for quite a few years now and even though I know my early work is spaghetti it stirred my creative juices and is still being used quite a bit 6 years after I originally started writing it.  I jumped in and made it work however I could.  When you create something useful that people actually use every day it&#8217;s encouraging.  I&#8217;m learning new stuff everyday.  Having to maintain my own application is what spurred me on to be a better coder.  Encourage better coding practices by mentoring and encouraging others in your language of choice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maracas</title>
		<link>http://blog.agilephp.com/2009/09/28/bad-code-is-good-for-you/comment-page-1/#comment-681</link>
		<dc:creator>Maracas</dc:creator>
		<pubDate>Mon, 28 Sep 2009 20:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1630#comment-681</guid>
		<description>My approach to PHP is often ugly I&#039;m sure, glad to know I am still welcome though :)</description>
		<content:encoded><![CDATA[<p>My approach to PHP is often ugly I&#8217;m sure, glad to know I am still welcome though <img src='http://blog.agilephp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
