<?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"
	>
<channel>
	<title>Comments on: Reasons to write bad code !!</title>
	<atom:link href="http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/</link>
	<description>Development, Microsoft, Open Source, Standards, ....,.....,...... Cooking, Travelling and blablabla</description>
	<pubDate>Wed, 07 Jan 2009 01:59:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Jawed&#8217;s Blog &#187; Quality Driven Development</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-17</link>
		<dc:creator>Jawed&#8217;s Blog &#187; Quality Driven Development</dc:creator>
		<pubDate>Tue, 15 Jul 2008 18:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-17</guid>
		<description>[...] was reading an article about Reasons to write bad code !!, the author was sharing his experience about having problem with some bad code, written by his [...]</description>
		<content:encoded><![CDATA[<p>[...] was reading an article about Reasons to write bad code !!, the author was sharing his experience about having problem with some bad code, written by his [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-16</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Tue, 15 Jul 2008 16:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-16</guid>
		<description>@Jawed, Indeed a very valid point. I had this question in my mind when I come to know about the reason for this unprofessional behavior. As you said, due to the short development time and to earn maximum benefits in immediate future, management tend to avoid standards. Due to tight schedule our team was not following peer review. I found this issue because I had to modify the aforementioned script. 
Having said that, It does not justify me or anybody for that matter, as an individual to deliberately compromise with the profession due to stress and pressure. In my knowledge, I will never write a bad code or design a bad algorithm which would be a pain to maintain. Generating Logic is a creative process. However, I agree that in many cases due to several factors at managerial or enterprise level, quality is compromised to certain extent. The case I mentioned does not fit in this criteria though as it deals with an individual.
Finally, as others mentioned, if you are not happy in your job then talk about it to the manager or start looking elsewhere.</description>
		<content:encoded><![CDATA[<p>@Jawed, Indeed a very valid point. I had this question in my mind when I come to know about the reason for this unprofessional behavior. As you said, due to the short development time and to earn maximum benefits in immediate future, management tend to avoid standards. Due to tight schedule our team was not following peer review. I found this issue because I had to modify the aforementioned script.<br />
Having said that, It does not justify me or anybody for that matter, as an individual to deliberately compromise with the profession due to stress and pressure. In my knowledge, I will never write a bad code or design a bad algorithm which would be a pain to maintain. Generating Logic is a creative process. However, I agree that in many cases due to several factors at managerial or enterprise level, quality is compromised to certain extent. The case I mentioned does not fit in this criteria though as it deals with an individual.<br />
Finally, as others mentioned, if you are not happy in your job then talk about it to the manager or start looking elsewhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jawed Ali</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-15</link>
		<dc:creator>Jawed Ali</dc:creator>
		<pubDate>Tue, 15 Jul 2008 16:17:09 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-15</guid>
		<description>Your point to some extent arguable like Tristan mentioned but you can not completely deny the fact that many coders (people who don't know how to write good code), don't have exposure to write good code and practices.  &lt;b&gt;To argue about code is bad, you must know whats good&lt;/b&gt;. Also it's a common practice to criticize what his successor has developed. 

No body try to avenge the company but the company is alone responsible for the mess. They are not following review and refactoring process, what the project manager or team lead was doing when that guy is wring bad code, why nobody noticed that found out reasons behind it. Stress and tight schedule always leave their effects in long run. Management always forgets the long term consequences  to gain short term profit. 

Keep in mind that &lt;b&gt;"Quality is a management driven activity/process."&lt;/b&gt;</description>
		<content:encoded><![CDATA[<p>Your point to some extent arguable like Tristan mentioned but you can not completely deny the fact that many coders (people who don&#8217;t know how to write good code), don&#8217;t have exposure to write good code and practices.  <b>To argue about code is bad, you must know whats good</b>. Also it&#8217;s a common practice to criticize what his successor has developed. </p>
<p>No body try to avenge the company but the company is alone responsible for the mess. They are not following review and refactoring process, what the project manager or team lead was doing when that guy is wring bad code, why nobody noticed that found out reasons behind it. Stress and tight schedule always leave their effects in long run. Management always forgets the long term consequences  to gain short term profit. </p>
<p>Keep in mind that <b>&#8220;Quality is a management driven activity/process.&#8221;</b></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergej Andrejev</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-13</link>
		<dc:creator>Sergej Andrejev</dc:creator>
		<pubDate>Sun, 13 Jul 2008 18:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-13</guid>
		<description>A very good point. Currently I'm just like you and hope to keep the shape for a long time, but I'm afraid. B looking at the bad code deadlines overwork can break me really soon. Sadly :( 
Anyway I don't want to leave, because I thing they will have hard time without me, so I decided that I will only leave if I get a great offer.</description>
		<content:encoded><![CDATA[<p>A very good point. Currently I&#8217;m just like you and hope to keep the shape for a long time, but I&#8217;m afraid. B looking at the bad code deadlines overwork can break me really soon. Sadly <img src='http://abhi.dcmembers.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Anyway I don&#8217;t want to leave, because I thing they will have hard time without me, so I decided that I will only leave if I get a great offer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-12</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Sun, 13 Jul 2008 14:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-12</guid>
		<description>@Emran, I actually like your question. It shows the other aspect of the very same problem. On that question, I would say that I am motivated by good supportive words. In that regard my manager is indeed very helpful. I do get constructive criticism and he highlights my areas of improvement which is very helpful. I believe that good words amalgamated with a proper amount of direction does work. At least in my case it does. IMO that is the art of management and managers should be picky of their words and careful of their approach. I have seen people working harder if ample amount of motivation is given. In our company we have the practice of giving "Spot" awards which actually is meant for acknowledgment of the good work done by the individual and also motivate others. Many other enterprises have similar approaches. Team outings and recreational activities are also good ways to release the stress and get the team in action. Thanks for putting light on this aspect of the issue.

@Michael, I totally agree with you. Being in a senior position not only gives you a responsibility to write good code which reflects your experience and maturity but it also gives you an opportunity to motivate your juniors. As I said, good coding is not just an effort but it is also a practice. If you deliberately delve into writing something stupid then that will actually hamper your own skills, credibility and respect in long run.</description>
		<content:encoded><![CDATA[<p>@Emran, I actually like your question. It shows the other aspect of the very same problem. On that question, I would say that I am motivated by good supportive words. In that regard my manager is indeed very helpful. I do get constructive criticism and he highlights my areas of improvement which is very helpful. I believe that good words amalgamated with a proper amount of direction does work. At least in my case it does. IMO that is the art of management and managers should be picky of their words and careful of their approach. I have seen people working harder if ample amount of motivation is given. In our company we have the practice of giving &#8220;Spot&#8221; awards which actually is meant for acknowledgment of the good work done by the individual and also motivate others. Many other enterprises have similar approaches. Team outings and recreational activities are also good ways to release the stress and get the team in action. Thanks for putting light on this aspect of the issue.</p>
<p>@Michael, I totally agree with you. Being in a senior position not only gives you a responsibility to write good code which reflects your experience and maturity but it also gives you an opportunity to motivate your juniors. As I said, good coding is not just an effort but it is also a practice. If you deliberately delve into writing something stupid then that will actually hamper your own skills, credibility and respect in long run.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sharman</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-11</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Sun, 13 Jul 2008 11:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-11</guid>
		<description>I've worked with developers who write messy code, some if it at a high standard and some not, but often quite unreadable and certainly hard to maintain.

I'm sure a lack of time can be mentioned as the cause, but I don't quite understand why senior developers write that way straight off the bat. Don't you automatically indent your code and comment where you need to?

In terms of a poor solution? Well that is also disturbing, why even go down the path of a bad solution if you know it won't scale or will be a nightmare to maintain? If you can't speak with a development manager (or at least someone in management) about this to get more time, might be time to start looking elsewhere for employment.

If you're not happy at work, chances are you won't be happy in life.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve worked with developers who write messy code, some if it at a high standard and some not, but often quite unreadable and certainly hard to maintain.</p>
<p>I&#8217;m sure a lack of time can be mentioned as the cause, but I don&#8217;t quite understand why senior developers write that way straight off the bat. Don&#8217;t you automatically indent your code and comment where you need to?</p>
<p>In terms of a poor solution? Well that is also disturbing, why even go down the path of a bad solution if you know it won&#8217;t scale or will be a nightmare to maintain? If you can&#8217;t speak with a development manager (or at least someone in management) about this to get more time, might be time to start looking elsewhere for employment.</p>
<p>If you&#8217;re not happy at work, chances are you won&#8217;t be happy in life.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Md Emran Hasan</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-10</link>
		<dc:creator>Md Emran Hasan</dc:creator>
		<pubDate>Sun, 13 Jul 2008 05:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-10</guid>
		<description>Well, this type of nonprofessional attitude are very disturbing for the management as well as the team lead. And more disturbing is when the employees are "thinking" that they are overstressed rather in reality. Some of them do not have the habit of working effectively for more than a few hrs and when they are pushed to increase their effectiveness, they think its overstress. The management expects to have around 4-6 hrs of effective work output from a developer's 8 hr office time - but if they are not ready to provide that, there remains very few ways to push them. 

From your experience, what do you think is the best way to handle this kind of situation ?</description>
		<content:encoded><![CDATA[<p>Well, this type of nonprofessional attitude are very disturbing for the management as well as the team lead. And more disturbing is when the employees are &#8220;thinking&#8221; that they are overstressed rather in reality. Some of them do not have the habit of working effectively for more than a few hrs and when they are pushed to increase their effectiveness, they think its overstress. The management expects to have around 4-6 hrs of effective work output from a developer&#8217;s 8 hr office time - but if they are not ready to provide that, there remains very few ways to push them. </p>
<p>From your experience, what do you think is the best way to handle this kind of situation ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-9</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sun, 13 Jul 2008 03:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-9</guid>
		<description>I agree to Abhishek. I have seen some guys doing the same in my office as well. I will forward this link to them :) 
Thanks</description>
		<content:encoded><![CDATA[<p>I agree to Abhishek. I have seen some guys doing the same in my office as well. I will forward this link to them <img src='http://abhi.dcmembers.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-8</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Sun, 13 Jul 2008 03:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-8</guid>
		<description>Thanks for your replies.

@Matt, I didn't use any wordprocessor for writing this article. It was written all in one go in Scribefire which doesn't provide grammatical or lexical checking. Also, English is not my first language but I would like to improve on that. Thanks for your comments.

@Tristan, neither I was nooby nor that piece of code was written one year back. Though, I agree to the point that the guy may not be good enough in TSQL. But as I have always followed the rule of thumb that "&lt;i&gt;Not knowing is not bad, rather not having the ability or willingness to learn is more futile&lt;/i&gt;". Hence, that was something that was more disturbing.</description>
		<content:encoded><![CDATA[<p>Thanks for your replies.</p>
<p>@Matt, I didn&#8217;t use any wordprocessor for writing this article. It was written all in one go in Scribefire which doesn&#8217;t provide grammatical or lexical checking. Also, English is not my first language but I would like to improve on that. Thanks for your comments.</p>
<p>@Tristan, neither I was nooby nor that piece of code was written one year back. Though, I agree to the point that the guy may not be good enough in TSQL. But as I have always followed the rule of thumb that &#8220;<i>Not knowing is not bad, rather not having the ability or willingness to learn is more futile</i>&#8220;. Hence, that was something that was more disturbing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: elPadawan</title>
		<link>http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-7</link>
		<dc:creator>elPadawan</dc:creator>
		<pubDate>Sun, 13 Jul 2008 01:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://abhi.dcmembers.com/blog/2008/07/12/reasons-to-write-bad-code/#comment-7</guid>
		<description>@Keith: "I think no organization would force its employee beyond his limits." &#60;-- unfortunately, some do. They work their employees to the core until they either leave, or breakdown and don't come back from long-term sick leave...</description>
		<content:encoded><![CDATA[<p>@Keith: &#8220;I think no organization would force its employee beyond his limits.&#8221; &lt;&#8211; unfortunately, some do. They work their employees to the core until they either leave, or breakdown and don&#8217;t come back from long-term sick leave&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
