<?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>CaptainCodeMonkey.com - All Your Booty Are Belong To Us! &#187; why</title>
	<atom:link href="http://www.captaincodemonkey.com/blog/tag/why/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.captaincodemonkey.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 01 May 2010 22:43:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Why Are Gas Prices So High? Is It Greedy Oil Companies?</title>
		<link>http://www.captaincodemonkey.com/blog/2008/03/11/why-are-gas-prices-so-high-is-it-greedy-oil-companies/</link>
		<comments>http://www.captaincodemonkey.com/blog/2008/03/11/why-are-gas-prices-so-high-is-it-greedy-oil-companies/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 15:10:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[World]]></category>
		<category><![CDATA[gas prices so high]]></category>
		<category><![CDATA[greedy oil companies]]></category>
		<category><![CDATA[why]]></category>

		<guid isPermaLink="false">http://www.aprogrammingpro.com/2008/03/11/why-are-gas-prices-so-high-is-it-greedy-oil-companies/</guid>
		<description><![CDATA[Fact: Gasoline Prices Are At An All Time High They are going to get higher.  But why?  Many factors affect the price of crude oil, and ultimately gasoline.  One major influence is the economy.  The US economy is weak (understatement of the year right?) and because of this weakness, and the dollar losing ground, people [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aprogrammingpro.com/wp-content/uploads/2008/03/856563572_0cfc5dbb13.jpg" title="856563572_0cfc5dbb13.jpg"><img src="http://www.aprogrammingpro.com/wp-content/uploads/2008/03/856563572_0cfc5dbb13.thumbnail.jpg" style="border: 0px none ; padding: 5px; float: left" alt="856563572_0cfc5dbb13.jpg" /></a><strong>Fact: Gasoline Prices Are At An All Time High</strong></p>
<p>They are going to get higher.  But why?  Many factors affect the price of crude oil, and ultimately gasoline.  One major influence is the economy.  The US economy is weak (understatement of the year right?) and because of this weakness, and the dollar losing ground, people invest in crude oil as a &#8220;hedge&#8221;.  When the dollar falls, things like crude oil, gold, silver, etc.  become much more valuable.  Oil prices make up about 80% of the price of a gallon of gasoline, and those prices have increased about 20% because investors  are funneling money into commodities.</p>
<p>Believe it or not, the refineries are struggling to make any money at all.  They get blamed sometimes for the prices, but as I have stated above, the prices are influenced by investors, and the companies that own the actual oil.  The refiners are making about 6 dollars from every barrel of oil they process, when about a year ago they were making 35+ dollars per barrel.  They currently are only operating at about 85%, but I ask you where is their incentive to increase throughput when they can&#8217;t turn a profit.  So who is making money? BP, ExxonMobil, Chevron, etc.  Thats where most of the profits go, and that is who is stuffing their proverbial pockets full of our hard earned money.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.captaincodemonkey.com/blog/2008/03/11/why-are-gas-prices-so-high-is-it-greedy-oil-companies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Commenting Your Programming Code Is Important</title>
		<link>http://www.captaincodemonkey.com/blog/2008/02/27/why-commenting-your-programming-code-is-important/</link>
		<comments>http://www.captaincodemonkey.com/blog/2008/02/27/why-commenting-your-programming-code-is-important/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 23:55:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming - General]]></category>
		<category><![CDATA[commenting]]></category>
		<category><![CDATA[important]]></category>
		<category><![CDATA[programming code comments]]></category>
		<category><![CDATA[why]]></category>

		<guid isPermaLink="false">http://www.aprogrammingpro.com/2008/02/27/why-commenting-your-programming-code-is-important/</guid>
		<description><![CDATA[    Programming is exact.  Computers (for the time being at least) only know what you teach them, and only remember what you tell them to.  They will not remember why your &#8220;func1()&#8221; is returning a &#8220;thingy&#8221; object, and neither will you.  6 months, or a year from now, you will be completely focused on some [...]]]></description>
			<content:encoded><![CDATA[<p>    Programming is exact.  Computers (for the time being at least) only know what you teach them, and only remember what you tell them to.  They will not remember why your &#8220;func1()&#8221; is returning a &#8220;thingy&#8221; object, and neither will you.  6 months, or a year from now, you will be completely focused on some new project, and you will have to go back to that project, and you will look through notebooks, and thousands of lines and dozens of pages of code, trying to figure out what that function did.</p>
<p>You can make your situation better by using a proper function and variable naming convention.  Proper naming conventions tend to be language specific at least, but there are some general rules of thumb.  ConvertToCat is a much better function name than convcat for example.  All caps are typically reserved for macros / global variables.  Leading a function with _ is generally reserved for special cases, (like constructors in C#.NET).  My point is that many developers tend to be lazy and abbreviate way too often.</p>
<p>Even with the best naming standards, there is still a need for comments.  I was taught in my CS courses to comment every function start and end, arguments, and return values.  Proper commenting and standards are especially important if you ever plan to work with other developers on a project.  It is better to get in the habit of doing things in the proper way, than to pay the price of being lazy later.  I can tell you from experience that you do not want to spend half a day trying to figure out what some function did and why you are using it in a certain way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.captaincodemonkey.com/blog/2008/02/27/why-commenting-your-programming-code-is-important/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
