<?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: Comments Do Make a Difference</title>
	<atom:link href="http://awads.net/wp/2006/08/15/comments-do-make-a-difference/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2006/08/15/comments-do-make-a-difference/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<pubDate>Wed, 20 Aug 2008 17:40:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Jalaj</title>
		<link>http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-51706</link>
		<dc:creator>Jalaj</dc:creator>
		<pubDate>Fri, 19 Oct 2007 05:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-51706</guid>
		<description>It takes me less time to develop a fresh application than making heavy modifications to old one written by someone else for the same reason. comments do make difference.</description>
		<content:encoded><![CDATA[<p>It takes me less time to develop a fresh application than making heavy modifications to old one written by someone else for the same reason. comments do make difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-48377</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Fri, 18 Aug 2006 22:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-48377</guid>
		<description>&lt;p&gt;It seems that my spam firewall needs some tuning. Here is Sheeri's comment (lost in spam):&lt;/p&gt;

&lt;p&gt;Sheeri:
Funny, in my organization there'd be a big ruckus about how it should be scalable, and "magic numbers" like those are often put in a database, so descriptive names and other metadata can be attached. Because there'd be 'make','buy', and then someone would want 'promised', and then someone would want 'almost' ......&lt;/p&gt;

&lt;p&gt;Eddie:
I do not object to "magic numbers" as long as they are described and documented when used.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It seems that my spam firewall needs some tuning. Here is Sheeri&#8217;s comment (lost in spam):</p>
<p>Sheeri:<br />
Funny, in my organization there&#8217;d be a big ruckus about how it should be scalable, and &#8220;magic numbers&#8221; like those are often put in a database, so descriptive names and other metadata can be attached. Because there&#8217;d be &#8216;make&#8217;,'buy&#8217;, and then someone would want &#8216;promised&#8217;, and then someone would want &#8216;almost&#8217; &#8230;&#8230;</p>
<p>Eddie:<br />
I do not object to &#8220;magic numbers&#8221; as long as they are described and documented when used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-46489</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Wed, 16 Aug 2006 16:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-46489</guid>
		<description>&lt;p&gt;Robert, for some reason, your comment was not posted, however, it was captured in &lt;a href="http://www.cocomment.com/comments/Eddie" rel="nofollow"&gt;my cocomment&lt;/a&gt;. So, here it is:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://thinkoracle.blogspot.com/" rel="nofollow"&gt;Robert Vollman&lt;/a&gt;:&lt;br /&gt;
Did you talk to the original programmer? If so, what did s/he say:&lt;/p&gt;

&lt;p&gt;"What are you doing looking at my code?"&lt;/p&gt;

&lt;p&gt;"Oh yeah sorry. No big deal though."&lt;/p&gt;

&lt;p&gt;"I had to get this out the door, no time for comments. Just had to get something working."&lt;/p&gt;

&lt;p&gt;"Comments are a maintenance hassle - if I change the code I have to go change all the comments."&lt;/p&gt;

&lt;p&gt;Nothing, because s/he's long gone.&lt;/p&gt;

&lt;p&gt;Eddie:&lt;br /&gt;
No, I did not talk to the original programmer because he is on vacation. But most likely, he will say one of the things you mentioned, except maybe "What are you doing looking at my code?".&lt;/p&gt;

&lt;p&gt;I have been guilty with leaving off necessary comments before. I believe it is a matter of habit and good practice.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Robert, for some reason, your comment was not posted, however, it was captured in <a href="http://www.cocomment.com/comments/Eddie" rel="nofollow">my cocomment</a>. So, here it is:</p>
<p><a href="http://thinkoracle.blogspot.com/" rel="nofollow">Robert Vollman</a>:<br />
Did you talk to the original programmer? If so, what did s/he say:</p>
<p>&#8220;What are you doing looking at my code?&#8221;</p>
<p>&#8220;Oh yeah sorry. No big deal though.&#8221;</p>
<p>&#8220;I had to get this out the door, no time for comments. Just had to get something working.&#8221;</p>
<p>&#8220;Comments are a maintenance hassle - if I change the code I have to go change all the comments.&#8221;</p>
<p>Nothing, because s/he&#8217;s long gone.</p>
<p>Eddie:<br />
No, I did not talk to the original programmer because he is on vacation. But most likely, he will say one of the things you mentioned, except maybe &#8220;What are you doing looking at my code?&#8221;.</p>
<p>I have been guilty with leaving off necessary comments before. I believe it is a matter of habit and good practice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-46031</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Wed, 16 Aug 2006 05:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-46031</guid>
		<description>&lt;p&gt;i agree,
always if possible use constants and as metioned where the optimizer could benefit comment and do not use them.
Karl&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i agree,<br />
always if possible use constants and as metioned where the optimizer could benefit comment and do not use them.<br />
Karl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-45875</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Tue, 15 Aug 2006 22:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-45875</guid>
		<description>&lt;p&gt;Beware of constants as they are really variables (or at least they count as bind variables when it comes to SQL), which means you could end up with some unexpected cursor sharing. [Not saying that it is always bad, just that its something to be aware of.]&lt;/p&gt;

&lt;p&gt;Also, taken to the extreme it just looks silly. I've worked with code that had constants defined for Y and N (eg cv_y := 'Y'). And then you've got to remember whether cv_y is 'y' or 'Y' as the variables are case insensitive.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Beware of constants as they are really variables (or at least they count as bind variables when it comes to SQL), which means you could end up with some unexpected cursor sharing. [Not saying that it is always bad, just that its something to be aware of.]</p>
<p>Also, taken to the extreme it just looks silly. I&#8217;ve worked with code that had constants defined for Y and N (eg cv_y := &#8216;Y&#8217;). And then you&#8217;ve got to remember whether cv_y is &#8216;y&#8217; or &#8216;Y&#8217; as the variables are case insensitive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-45515</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Tue, 15 Aug 2006 15:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-45515</guid>
		<description>&lt;p&gt;Right, constants are very useful in this situation. In fact, I am going to have a separate post about PL/SQL constants soon.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Right, constants are very useful in this situation. In fact, I am going to have a separate post about PL/SQL constants soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Hall</title>
		<link>http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-45495</link>
		<dc:creator>Tim Hall</dc:creator>
		<pubDate>Tue, 15 Aug 2006 14:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/08/15/comments-do-make-a-difference/#comment-45495</guid>
		<description>&lt;p&gt;Even better, us a constant with a suitable name :)&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;Tim...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Even better, us a constant with a suitable name <img src='http://awads.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers</p>
<p>Tim&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
