<?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: The Real Measure Of Code Quality</title> <atom:link href="http://www.skorks.com/2008/09/the-real-measure-of-code-quality/feed/" rel="self" type="application/rss+xml" /><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/</link> <description>For the betterment of the software craft...</description> <lastBuildDate>Mon, 21 Nov 2011 13:57:06 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.2</generator> <item><title>By: Rakesh Malik</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-5734</link> <dc:creator>Rakesh Malik</dc:creator> <pubDate>Mon, 24 May 2010 18:53:08 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-5734</guid> <description>&quot;For example, what is better – very clean readable code which is easy to understand but might not be as optimised as it could be, or highly optimised, great, intelligent code, which is a nightmare to read and maintain due to the many advanced techniques being used?&quot;
I would call the 2nd a failure. If it&#039;s a nightmare to read and maintain, then it&#039;s crap. Both of those characteristics also lead to the conclusion that the code is difficult to validate.
And in the end, if I can&#039;t be certain that it&#039;s correct, I don&#039;t care about its performance, and neither should anyone else.</description> <content:encoded><![CDATA[<p>&#8220;For example, what is better – very clean readable code which is easy to understand but might not be as optimised as it could be, or highly optimised, great, intelligent code, which is a nightmare to read and maintain due to the many advanced techniques being used?&#8221;</p><p>I would call the 2nd a failure. If it&#8217;s a nightmare to read and maintain, then it&#8217;s crap. Both of those characteristics also lead to the conclusion that the code is difficult to validate.</p><p>And in the end, if I can&#8217;t be certain that it&#8217;s correct, I don&#8217;t care about its performance, and neither should anyone else.</p> ]]></content:encoded> </item> <item><title>By: Reflections on Software Engineering &#187; Blog Archive &#187; Is Better the Enemy of Good Enough?</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-5733</link> <dc:creator>Reflections on Software Engineering &#187; Blog Archive &#187; Is Better the Enemy of Good Enough?</dc:creator> <pubDate>Mon, 24 May 2010 17:34:07 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-5733</guid> <description>[...] enough&#8221; is defied in terms of &#8220;providing value to the customer,&#8221; often stated as the &#8220;shipping working software&#8221; metric. So if you are shipping working software and receiving generally positive feedback from your [...]</description> <content:encoded><![CDATA[<p>[...] enough&#8221; is defied in terms of &#8220;providing value to the customer,&#8221; often stated as the &#8220;shipping working software&#8221; metric. So if you are shipping working software and receiving generally positive feedback from your [...]</p> ]]></content:encoded> </item> <item><title>By: Josh Petitt</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-5183</link> <dc:creator>Josh Petitt</dc:creator> <pubDate>Thu, 06 May 2010 03:14:29 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-5183</guid> <description>BTW - I have no idea how to actually measure my definition, (WTF&#039;s maybe?) :-)</description> <content:encoded><![CDATA[<p>BTW &#8211; I have no idea how to actually measure my definition, (WTF&#8217;s maybe?) :-)</p> ]]></content:encoded> </item> <item><title>By: Josh Petitt</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-5181</link> <dc:creator>Josh Petitt</dc:creator> <pubDate>Thu, 06 May 2010 02:55:06 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-5181</guid> <description>Here is a pragmatic definition of quality code:
1) Performs required task in predictable conditions.
2) Degrades gracefully in unpredictable conditions.  &quot;Perfectly graceful&quot; implies that a code failure has zero impact on other system components&#039; ability to perform their required tasks.
3) Does not lose properties 1 or 2 when another component is added to the system.
(note: component could be code fragments, functions, classes, executables, etc)</description> <content:encoded><![CDATA[<p>Here is a pragmatic definition of quality code:</p><p>1) Performs required task in predictable conditions.<br
/> 2) Degrades gracefully in unpredictable conditions.  &#8220;Perfectly graceful&#8221; implies that a code failure has zero impact on other system components&#8217; ability to perform their required tasks.<br
/> 3) Does not lose properties 1 or 2 when another component is added to the system.</p><p>(note: component could be code fragments, functions, classes, executables, etc)</p> ]]></content:encoded> </item> <item><title>By: Michael Toy</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-3546</link> <dc:creator>Michael Toy</dc:creator> <pubDate>Tue, 16 Feb 2010 18:02:22 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-3546</guid> <description>I will always be appreciative to the prof. who insisted his budding computer scientists read &quot;Zen and the Art of Motorcycle Maintenance&quot;.  Among other things, it contains many reflections on whether quality is mystical or measurable.</description> <content:encoded><![CDATA[<p>I will always be appreciative to the prof. who insisted his budding computer scientists read &#8220;Zen and the Art of Motorcycle Maintenance&#8221;.  Among other things, it contains many reflections on whether quality is mystical or measurable.</p> ]]></content:encoded> </item> <item><title>By: Stefan Hendriks</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-3340</link> <dc:creator>Stefan Hendriks</dc:creator> <pubDate>Fri, 27 Nov 2009 13:22:40 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-3340</guid> <description>Nice read. The comic is quite funny. However, I do disagree with the statement &quot;Every good developer intrinsically knows if his/her code is good enough!&quot;. In my experience most developers will say their code is good and code he/she did not write is easily &#039;bad&#039;. Even, when the &#039;other&#039; code is better if you take a look at it more objectively.
I do know what you mean though, real developers with hearth for their code will &#039;feel&#039; if their code is good/bad enough already. I won&#039;t argue there.
I&#039;m writing a thesis about software quality, it is related to my job. My first question actually is &quot;what is software quality&quot;. As you said, it is subjective. In that sense we (developers) have to agree on a term we call &quot;quality&quot;.
I am still working on that definition. But from there it will be easier. Using Software Quality factors you might be able to know what Developers tend to like (ie, try to figure out what other developers think of in terms of quality). A good example is &quot;maintainability&quot;. You hear about that all the time. But even maintainability can be split up into tinier pieces.
Once i have my definition clear i can investigate metrics and such. Using such tooling I can score the quality factors we find important. Also, the tools will point us into pieces of code that should be worked on if we want to deliver quality as we see it.
Short answer is: Try to make it objective, and work from there. And even then there is only this little piece you probably have taken care of. Because, what *you* see as quality (as developer) might be totally different than your customer thinks off... but thats worth another thesis i guess :)</description> <content:encoded><![CDATA[<p>Nice read. The comic is quite funny. However, I do disagree with the statement &#8220;Every good developer intrinsically knows if his/her code is good enough!&#8221;. In my experience most developers will say their code is good and code he/she did not write is easily &#8216;bad&#8217;. Even, when the &#8216;other&#8217; code is better if you take a look at it more objectively.</p><p>I do know what you mean though, real developers with hearth for their code will &#8216;feel&#8217; if their code is good/bad enough already. I won&#8217;t argue there.</p><p>I&#8217;m writing a thesis about software quality, it is related to my job. My first question actually is &#8220;what is software quality&#8221;. As you said, it is subjective. In that sense we (developers) have to agree on a term we call &#8220;quality&#8221;.</p><p>I am still working on that definition. But from there it will be easier. Using Software Quality factors you might be able to know what Developers tend to like (ie, try to figure out what other developers think of in terms of quality). A good example is &#8220;maintainability&#8221;. You hear about that all the time. But even maintainability can be split up into tinier pieces.</p><p>Once i have my definition clear i can investigate metrics and such. Using such tooling I can score the quality factors we find important. Also, the tools will point us into pieces of code that should be worked on if we want to deliver quality as we see it.</p><p>Short answer is: Try to make it objective, and work from there. And even then there is only this little piece you probably have taken care of. Because, what *you* see as quality (as developer) might be totally different than your customer thinks off&#8230; but thats worth another thesis i guess :)</p> ]]></content:encoded> </item> <item><title>By: Alan Skorkin</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-2421</link> <dc:creator>Alan Skorkin</dc:creator> <pubDate>Mon, 31 Aug 2009 10:54:05 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-2421</guid> <description>I agree code quality is extremely subjective, I believe that we always write code for other people to read so it should be made as easy for others to understand as possible. But that is just my view and other people will have different ones which is ok.
The trick is to make sure that there is a consistent view on what constitutes quality code within your team and hopefully within your company. When people who work together have wildly different ideas on the subject, that&#039;s when it can get a little hairy.</description> <content:encoded><![CDATA[<p>I agree code quality is extremely subjective, I believe that we always write code for other people to read so it should be made as easy for others to understand as possible. But that is just my view and other people will have different ones which is ok.</p><p>The trick is to make sure that there is a consistent view on what constitutes quality code within your team and hopefully within your company. When people who work together have wildly different ideas on the subject, that&#8217;s when it can get a little hairy.</p> ]]></content:encoded> </item> <item><title>By: David Azzopardi</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-2420</link> <dc:creator>David Azzopardi</dc:creator> <pubDate>Mon, 31 Aug 2009 09:23:25 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-2420</guid> <description>Nice post. In my opinion, code quality is a very subjective topic, and when measuring code quality one must be a little careful.
For example, what is better – very clean readable code which is easy to understand but might not be as optimised as it could be, or highly optimised, great, intelligent code, which is a nightmare to read and maintain due to the many advanced techniques being used?
As I see it, both coding styles are good and both have their uses, but they cannot really be compared together. They should be compared to code similar to their style and requirements.</description> <content:encoded><![CDATA[<p>Nice post. In my opinion, code quality is a very subjective topic, and when measuring code quality one must be a little careful.</p><p>For example, what is better – very clean readable code which is easy to understand but might not be as optimised as it could be, or highly optimised, great, intelligent code, which is a nightmare to read and maintain due to the many advanced techniques being used?</p><p>As I see it, both coding styles are good and both have their uses, but they cannot really be compared together. They should be compared to code similar to their style and requirements.</p> ]]></content:encoded> </item> <item><title>By: Dayo</title><link>http://www.skorks.com/2008/09/the-real-measure-of-code-quality/comment-page-1/#comment-446</link> <dc:creator>Dayo</dc:creator> <pubDate>Fri, 03 Oct 2008 11:11:11 +0000</pubDate> <guid
isPermaLink="false">http://www.skorks.com/?p=407#comment-446</guid> <description>Nice read. For me, I guess WTF/minute is a good measure. Anyway, maybe because I&#039;m an amateur learning under a GEEK. So I get WTFs every other time!</description> <content:encoded><![CDATA[<p>Nice read. For me, I guess WTF/minute is a good measure. Anyway, maybe because I&#8217;m an amateur learning under a GEEK. So I get WTFs every other time!</p> ]]></content:encoded> </item> </channel> </rss>
