<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Seven rants about successful programming, give or take two</title>
	<atom:link href="http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/feed/" rel="self" type="application/rss+xml" />
	<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/</link>
	<description>random thoughts on programming and programming languages</description>
	<lastBuildDate>Sun, 22 Apr 2012 00:53:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jay</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-24790</link>
		<dc:creator><![CDATA[Jay]]></dc:creator>
		<pubDate>Mon, 27 Aug 2007 16:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-24790</guid>
		<description><![CDATA[&quot;2: comment seldom, write self-documenting code instead&quot;  

Self Documenting code is a serious oxymoron.  Sadly too many people do this and create disasters when they quit and leave the rest of us to pick up the pieces.  One persons &quot;self documenting code&quot; is another person&#039;s headache / garbage.  

I agree with your statement about documenting routines.  Here is where you should describe the function.

Lets be honest.  I think most people avoid comments because they hope to create a program that they alone will understand and have a lifetime job maintaining.   Or they are so ashamed at their lack of ability that they don&#039;t want to spell out the awful crap they write so that others can pick it apart.]]></description>
		<content:encoded><![CDATA[<p>&#8220;2: comment seldom, write self-documenting code instead&#8221;  </p>
<p>Self Documenting code is a serious oxymoron.  Sadly too many people do this and create disasters when they quit and leave the rest of us to pick up the pieces.  One persons &#8220;self documenting code&#8221; is another person&#8217;s headache / garbage.  </p>
<p>I agree with your statement about documenting routines.  Here is where you should describe the function.</p>
<p>Lets be honest.  I think most people avoid comments because they hope to create a program that they alone will understand and have a lifetime job maintaining.   Or they are so ashamed at their lack of ability that they don&#8217;t want to spell out the awful crap they write so that others can pick it apart.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcin</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-11547</link>
		<dc:creator><![CDATA[Marcin]]></dc:creator>
		<pubDate>Wed, 24 Jan 2007 13:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-11547</guid>
		<description><![CDATA[On hungarian notation - As Joel Spolsky comments, the original intention was to make up for bad type systems, by allowing code writers and reviewers to more easily see when two variables of the same machine type are not of the same type (e.g. ints used for heights and ints used for weights).]]></description>
		<content:encoded><![CDATA[<p>On hungarian notation &#8211; As Joel Spolsky comments, the original intention was to make up for bad type systems, by allowing code writers and reviewers to more easily see when two variables of the same machine type are not of the same type (e.g. ints used for heights and ints used for weights).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arsenalist</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-10080</link>
		<dc:creator><![CDATA[arsenalist]]></dc:creator>
		<pubDate>Mon, 08 Jan 2007 22:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-10080</guid>
		<description><![CDATA[[...]Non-resumable exception systems a la Java/C++ often have caused me more problems that simpler mechanisms (like return values and design by contract with assertions), probably due to their non-local nature.[...]


I don&#039;t know about that.  Having return values that indicate one of success or failure is one thing but you&#039;re opening a can of worms with that.  When there are more than one reasons of failure and each failure event has data attached to it, it becomes way more complex using return values to indicate this rather than exceptions.

Here&#039;s some links:

http://today.java.net/pub/a/today/2003/12/04/exceptions.html
http://www.onjava.com/pub/a/onjava/2006/01/11/exception-handling-framework-for-j2ee.html]]></description>
		<content:encoded><![CDATA[<p>[...]Non-resumable exception systems a la Java/C++ often have caused me more problems that simpler mechanisms (like return values and design by contract with assertions), probably due to their non-local nature.[...]</p>
<p>I don&#8217;t know about that.  Having return values that indicate one of success or failure is one thing but you&#8217;re opening a can of worms with that.  When there are more than one reasons of failure and each failure event has data attached to it, it becomes way more complex using return values to indicate this rather than exceptions.</p>
<p>Here&#8217;s some links:</p>
<p><a href="http://today.java.net/pub/a/today/2003/12/04/exceptions.html" rel="nofollow">http://today.java.net/pub/a/today/2003/12/04/exceptions.html</a><br />
<a href="http://www.onjava.com/pub/a/onjava/2006/01/11/exception-handling-framework-for-j2ee.html" rel="nofollow">http://www.onjava.com/pub/a/onjava/2006/01/11/exception-handling-framework-for-j2ee.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BrianWill.net &#187; Blog Archive &#187; More coding practices religion</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2800</link>
		<dc:creator><![CDATA[BrianWill.net &#187; Blog Archive &#187; More coding practices religion]]></dc:creator>
		<pubDate>Sat, 21 Oct 2006 16:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2800</guid>
		<description><![CDATA[[...] Seven rants about successful programming give or take two. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Seven rants about successful programming give or take two. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhijit Nadgouda</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2770</link>
		<dc:creator><![CDATA[Abhijit Nadgouda]]></dc:creator>
		<pubDate>Fri, 20 Oct 2006 16:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2770</guid>
		<description><![CDATA[Nice post. Regarding comments I think that comments should be used to mention the problem the code is trying to solve. Code is the solution, comments should complement it by documenting the problem. How detailed it should be depends on the problem and the team.]]></description>
		<content:encoded><![CDATA[<p>Nice post. Regarding comments I think that comments should be used to mention the problem the code is trying to solve. Code is the solution, comments should complement it by documenting the problem. How detailed it should be depends on the problem and the team.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Merrion</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2723</link>
		<dc:creator><![CDATA[Merrion]]></dc:creator>
		<pubDate>Thu, 19 Oct 2006 12:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2723</guid>
		<description><![CDATA[Whilst I am a big fan of clarity in source code I don&#039;t believe that the code can be totally self documenting because the source code can only tell you what a program does, whereas a comment can tell you what the intention of the person writing that code was. 

Additionally the source code is only self-documenting to someone who has a good knowledge of the programming language that the source code is written in. However it is often the case that the person who has the best understanding of the problem space (be they a business analyst, end client or whatever) does not have sufficient developer experience to be able to read the code itself.]]></description>
		<content:encoded><![CDATA[<p>Whilst I am a big fan of clarity in source code I don&#8217;t believe that the code can be totally self documenting because the source code can only tell you what a program does, whereas a comment can tell you what the intention of the person writing that code was. </p>
<p>Additionally the source code is only self-documenting to someone who has a good knowledge of the programming language that the source code is written in. However it is often the case that the person who has the best understanding of the problem space (be they a business analyst, end client or whatever) does not have sufficient developer experience to be able to read the code itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lionel Barret</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2713</link>
		<dc:creator><![CDATA[lionel Barret]]></dc:creator>
		<pubDate>Thu, 19 Oct 2006 08:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2713</guid>
		<description><![CDATA[the comment rule is quite stupid indeed.
But in complicate language (think c++ opposed to python), it is a good habit to write the comment then only the code. 
The comments written help the good naming of variables and functions.
In the end, just delete the unnecessary comments.
it&#039;s from code complete if I remember correctly.]]></description>
		<content:encoded><![CDATA[<p>the comment rule is quite stupid indeed.<br />
But in complicate language (think c++ opposed to python), it is a good habit to write the comment then only the code.<br />
The comments written help the good naming of variables and functions.<br />
In the end, just delete the unnecessary comments.<br />
it&#8217;s from code complete if I remember correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Programming Advice &#171; Nimish Batra, The Life and Times of</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2684</link>
		<dc:creator><![CDATA[Programming Advice &#171; Nimish Batra, The Life and Times of]]></dc:creator>
		<pubDate>Wed, 18 Oct 2006 16:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2684</guid>
		<description><![CDATA[[...] Response: Seven rants about successful programming, give or take two [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Response: Seven rants about successful programming, give or take two [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Thomas</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2650</link>
		<dc:creator><![CDATA[Nick Thomas]]></dc:creator>
		<pubDate>Tue, 17 Oct 2006 20:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2650</guid>
		<description><![CDATA[Bruce Hoult: Why all the extra hassle? Isn&#039;t it a lot easier (for both the code author and reader) to just have that documentation right in the code, rather than in some database somewhere else?]]></description>
		<content:encoded><![CDATA[<p>Bruce Hoult: Why all the extra hassle? Isn&#8217;t it a lot easier (for both the code author and reader) to just have that documentation right in the code, rather than in some database somewhere else?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Merrion</title>
		<link>http://programming-musings.org/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2645</link>
		<dc:creator><![CDATA[Merrion]]></dc:creator>
		<pubDate>Tue, 17 Oct 2006 18:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://jaortega.wordpress.com/2006/10/16/seven-rants-about-successful-programming-give-or-take-two/#comment-2645</guid>
		<description><![CDATA[Breaking news - there are now eight &#039;secrets&#039; ;-)]]></description>
		<content:encoded><![CDATA[<p>Breaking news &#8211; there are now eight &#8216;secrets&#8217; ;-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

