<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>G to The Square &#187; debugging</title>
	<atom:link href="http://www.gtothesquare.com/tag/debugging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gtothesquare.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Sep 2011 22:05:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Debugging by comments</title>
		<link>http://www.gtothesquare.com/2010/07/15/debugging-by-comments/</link>
		<comments>http://www.gtothesquare.com/2010/07/15/debugging-by-comments/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 21:10:22 +0000</pubDate>
		<dc:creator>Geries Handal</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[project managment]]></category>

		<guid isPermaLink="false">http://www.gtothesquare.com/2010/07/15/debugging-by-comments/</guid>
		<description><![CDATA[You have written your code, ran it and looks ready to be committed. Once is committed it can be tested by another member of a the team. However,why no write some comments for your code before committing it, which will help you find some bugs.&#160; By writing comments, you will have to dissect your code [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.gtothesquare.com%2F2010%2F07%2F15%2Fdebugging-by-comments%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.gtothesquare.com%2F2010%2F07%2F15%2Fdebugging-by-comments%2F&amp;source=gtothesquare&amp;style=normal&amp;service=TinyURL.com&amp;hashtags=debugging,project+managment,Software+Development&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>You have written your code, ran it and looks ready to be committed. Once is committed it can be tested by another member of a the team. However,why no write some comments for your code before committing it, which will help you find some bugs.&#160; By writing comments, you will have to dissect your code piece by piece, which will lead you to find common errors and makes your code understandable for other (and your future you).</p>
<p>Is not just about just writing one liners, write them with the following set of mind:<strong> it will be read by somebody that knows nothing about the applications or program, i</strong><strong>magining the target reader is a new member of your team.</strong> This will help you see your code from a different perspective and go into details. By submerging in to details, you will&#160; find bugs in your code before going into the testing stage.</p>
<p>There are two advantages of this method: First your code is readable and readable code is better code. Second, you save resources by saving a bug report. Testers will not test code, find bugs and return it to you. You will NOT stop your current task and go back to fix a careless bug and resubmit it for testing. Instead you will spend your time producing new code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gtothesquare.com/2010/07/15/debugging-by-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

