<?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: We All Write Bad Code</title>
	<atom:link href="http://davybrion.com/blog/2009/01/we-all-write-bad-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/</link>
	<description>Trying to walk that thin line between intelligence and ignorance</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:01:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Eric</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-22932</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 12 Nov 2009 06:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-22932</guid>
		<description>@Gregory

I work in a shop with tight, often to the point of being unrealistic, deadlines as well.  We struggle with it and certainly have to make pragmatic decisions.
The old adages of avoiding gold plating and total cost of ownership aside, I am often struck with the dilemma: could I actually have written that code faster &lt;strong&gt;with&lt;/strong&gt; a test?  And how would I measure that?

I&#039;ve worked on projects that I have been proud of in terms of quality as well.  The ivory tower preaches that you can go faster in the long run with tests.  I question the amount of test coverage that actually gives you optimal productivity for a given project.  Different approaches to testing have more payoff and less maintenance cost than others in many situations.  This is something to be aware of when reading about testing dogma.  100% code coverage done the wrong way can be an absolute nightmare.

Sometimes I edit and pray.  Most of the time I write at least some tests no matter the time pressure.  It is amazing how much time you can waste doing repetitive tasks...

Testingly yours,
With that important grain of salt,
Eric</description>
		<content:encoded><![CDATA[<p>@Gregory</p>
<p>I work in a shop with tight, often to the point of being unrealistic, deadlines as well.  We struggle with it and certainly have to make pragmatic decisions.<br />
The old adages of avoiding gold plating and total cost of ownership aside, I am often struck with the dilemma: could I actually have written that code faster <strong>with</strong> a test?  And how would I measure that?</p>
<p>I&#8217;ve worked on projects that I have been proud of in terms of quality as well.  The ivory tower preaches that you can go faster in the long run with tests.  I question the amount of test coverage that actually gives you optimal productivity for a given project.  Different approaches to testing have more payoff and less maintenance cost than others in many situations.  This is something to be aware of when reading about testing dogma.  100% code coverage done the wrong way can be an absolute nightmare.</p>
<p>Sometimes I edit and pray.  Most of the time I write at least some tests no matter the time pressure.  It is amazing how much time you can waste doing repetitive tasks&#8230;</p>
<p>Testingly yours,<br />
With that important grain of salt,<br />
Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Kornblum</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-8183</link>
		<dc:creator>Gregory Kornblum</dc:creator>
		<pubDate>Tue, 27 Jan 2009 07:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-8183</guid>
		<description>Sadly I have been working with small groups of developers and deadlines that are 10% of the actual time it would take to do it right for almost 15 years. It pains me to write the way I have had to yet at the same time I have grown to write better code faster. It&#039;s just the community does not make it any easier on me. Even with amazing IDEs now I should consider following design patterns and more specifically use the ones that make writing tests easier, tests that are also code. It&#039;s a friggin&#039; joke. People say but if you do so you can end up having to write less code. Maybe if you have the architectural time but there are people like me who just can&#039;t keep up with the crap people are feeding CIOs/CTOs nowadays. Yet I still try to do all this within the same tight deadlines, troubleshooting issues that only boil down to incorrect usage, etc...

But I will say one thing, I will take this over working for some public, fortune 500 company who will lay you off to keep stock prices from falling. I&#039;ve made it through the &quot;dot com callapse&quot; and I am making it in the current &quot;credit crunch&quot; as we are still hiring, not firing. So if I am forced to write bad code to make sure my family is well off and stable so be it.</description>
		<content:encoded><![CDATA[<p>Sadly I have been working with small groups of developers and deadlines that are 10% of the actual time it would take to do it right for almost 15 years. It pains me to write the way I have had to yet at the same time I have grown to write better code faster. It&#8217;s just the community does not make it any easier on me. Even with amazing IDEs now I should consider following design patterns and more specifically use the ones that make writing tests easier, tests that are also code. It&#8217;s a friggin&#8217; joke. People say but if you do so you can end up having to write less code. Maybe if you have the architectural time but there are people like me who just can&#8217;t keep up with the crap people are feeding CIOs/CTOs nowadays. Yet I still try to do all this within the same tight deadlines, troubleshooting issues that only boil down to incorrect usage, etc&#8230;</p>
<p>But I will say one thing, I will take this over working for some public, fortune 500 company who will lay you off to keep stock prices from falling. I&#8217;ve made it through the &#8220;dot com callapse&#8221; and I am making it in the current &#8220;credit crunch&#8221; as we are still hiring, not firing. So if I am forced to write bad code to make sure my family is well off and stable so be it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmad Sheikh</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-8153</link>
		<dc:creator>Ahmad Sheikh</dc:creator>
		<pubDate>Mon, 26 Jan 2009 18:06:04 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-8153</guid>
		<description>Yet i didn&#039;t read you article but after having the name of article i m writing that me is agree on this point to some extent.</description>
		<content:encoded><![CDATA[<p>Yet i didn&#8217;t read you article but after having the name of article i m writing that me is agree on this point to some extent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laila</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-8141</link>
		<dc:creator>Laila</dc:creator>
		<pubDate>Mon, 26 Jan 2009 11:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-8141</guid>
		<description>@Davy: &quot;If management ignores the advice, they’re going to have to live with the consequences sooner or later. Whether they want to or not.&quot; =&gt; I was thinking, can you live with that? Then I read the last line of your comment :)</description>
		<content:encoded><![CDATA[<p>@Davy: &#8220;If management ignores the advice, they’re going to have to live with the consequences sooner or later. Whether they want to or not.&#8221; =&gt; I was thinking, can you live with that? Then I read the last line of your comment <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-8139</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Mon, 26 Jan 2009 11:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-8139</guid>
		<description>@Laila

If management ignores the advice, they&#039;re going to have to live with the consequences sooner or later. Whether they want to or not.  I&#039;d look for a job with better management.</description>
		<content:encoded><![CDATA[<p>@Laila</p>
<p>If management ignores the advice, they&#8217;re going to have to live with the consequences sooner or later. Whether they want to or not.  I&#8217;d look for a job with better management.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laila</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-8137</link>
		<dc:creator>Laila</dc:creator>
		<pubDate>Mon, 26 Jan 2009 10:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-8137</guid>
		<description>@Igor: I wouldn&#039;t even say &lt;i&gt;good code&lt;/i&gt;, I&#039;d say &lt;i&gt;better code&lt;/i&gt;, since you can probably even improve the last code you wrote.
Whenever I reopen code (even if it&#039;s last week code) I wrote, I automatically begin refactoring it.

@Davy: What if management ignores your advice?</description>
		<content:encoded><![CDATA[<p>@Igor: I wouldn&#8217;t even say <i>good code</i>, I&#8217;d say <i>better code</i>, since you can probably even improve the last code you wrote.<br />
Whenever I reopen code (even if it&#8217;s last week code) I wrote, I automatically begin refactoring it.</p>
<p>@Davy: What if management ignores your advice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davy Brion</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-8095</link>
		<dc:creator>Davy Brion</dc:creator>
		<pubDate>Sun, 25 Jan 2009 13:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-8095</guid>
		<description>@Igor

good point :)

@Eric

you&#039;re right. i think it&#039;s important to be honest about it with the sponsors up front. If you&#039;re going to have to take some shortcuts you probably should tell them about it up front and warn them that it will need to get cleaned up ASAP.  If they choose to ignore that advice... well that&#039;s a whole different story then.</description>
		<content:encoded><![CDATA[<p>@Igor</p>
<p>good point <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@Eric</p>
<p>you&#8217;re right. i think it&#8217;s important to be honest about it with the sponsors up front. If you&#8217;re going to have to take some shortcuts you probably should tell them about it up front and warn them that it will need to get cleaned up ASAP.  If they choose to ignore that advice&#8230; well that&#8217;s a whole different story then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-8094</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sun, 25 Jan 2009 12:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-8094</guid>
		<description>The ubiquitous trade-off - to write bad code or not?  The problem isn&#039;t so much in remembering to address the resultant accrued technical debt, but in convincing the people who foot the bill that there is such a thing.</description>
		<content:encoded><![CDATA[<p>The ubiquitous trade-off &#8211; to write bad code or not?  The problem isn&#8217;t so much in remembering to address the resultant accrued technical debt, but in convincing the people who foot the bill that there is such a thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor Brejc</title>
		<link>http://davybrion.com/blog/2009/01/we-all-write-bad-code/comment-page-1/#comment-8083</link>
		<dc:creator>Igor Brejc</dc:creator>
		<pubDate>Sun, 25 Jan 2009 06:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://davybrion.com/blog/?p=877#comment-8083</guid>
		<description>Knowing that you write bad code is a virtue in itself. After all, how would you know your code is bad if you haven&#039;t produced any &lt;i&gt;good&lt;/i&gt; code? ;)</description>
		<content:encoded><![CDATA[<p>Knowing that you write bad code is a virtue in itself. After all, how would you know your code is bad if you haven&#8217;t produced any <i>good</i> code? <img src='http://davybrion.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
