<?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>Web Cash &#187; learning</title>
	<atom:link href="http://www.earn-web-cash.com/tag/learning/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.earn-web-cash.com</link>
	<description>Writing, Designing, and Making Money Online</description>
	<lastBuildDate>Sun, 04 Dec 2011 22:52:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Time Well Spent, Learning Programming</title>
		<link>http://www.earn-web-cash.com/2008/02/01/time-learning-programming/</link>
		<comments>http://www.earn-web-cash.com/2008/02/01/time-learning-programming/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 02:15:21 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Sundry Musings]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/02/01/time-learning-programming/</guid>
		<description><![CDATA[Browsing through DZone, I stumbled on an interesting illustration - the <a href="http://osteele.com/archives/2008/01/programmers-pyramid">Programmer's Food Pyramid</a>.

The Pyramid illustrates the different activities that someone generally engages in while learning to program.  While looking at the pyramid, I thought, "Do I do all these things?"]]></description>
			<content:encoded><![CDATA[<p>Browsing through DZone, I stumbled on an interesting illustration &#8211; the <a href="http://osteele.com/archives/2008/01/programmers-pyramid">Programmer&#8217;s Food Pyramid</a>.</p>
<p>The Pyramid illustrates the different activities that someone generally engages in while learning to program.  While looking at the pyramid, I thought, &#8220;Do I do all these things?&#8221;<br />
<span id="more-94"></span><br />
For the most part, I do on a daily basis.</p>
<h5>Writing About Code and Writing Code</h5>
<p>I spend a decent amount of timing writing about code &#8211; or thinking about writing about code.  That&#8217;s a lot of what this website is about, and it&#8217;s also why I spend a lot of time on forums like <a href="http://www.daniweb.com">DaniWeb</a> and <a href="http://www.digitalpoint.com">Digital Point</a>.</p>
<p>As a high school teacher, I know all too well that you learn best by teaching.  So I spend a lot of timing writing about what I&#8217;m trying to figure out &#8211; so I can help others learn it, but also so I can figure it out myself.</p>
<p>On the pyramid, &#8220;Writing About Code&#8221; and &#8220;Writing Code&#8221; are separated into two different categories &#8211; but for me they&#8217;re pretty synonymous.  If I spend time writing some code, I usually devote some time to writing about it.  It helps me gain a deeper understanding of what I did.</p>
<h5>Reading, Revising, and Reading About Code</h5>
<p>Likewise, the pyramid divides these into three different tasks &#8211; but I&#8217;d say they mostly occur at the same time for me.</p>
<p>I spend a lot of time trolling around the PHP sections of webmaster forums (like DaniWeb, DigitalPoint, etc).  I like to see what problems other people are having&#8230; and then try to solve them.</p>
<p>In the process, I generally end up reading someone&#8217;s code, fixing errors in it, and searching the internet to solutions to deeper problems.  A small problem in a forum post can easily drive me to learn more about a topic I didn&#8217;t know a lot about.</p>
<p>For example, someone posted a question about using preg_replace().  I never used the function much, because I never had a reason to use it over str_replace().  Instead of directing the person to str_replace() like most other respondents did, I spent some time learning how to use preg_replace() and I fixed the error in the original poster&#8217;s code.</p>
<h5>Reading Environmental Code</h5>
<p>If there&#8217;s one thing I hate, out of all the bits included in the pyramid, it&#8217;s reading environmental code.</p>
<p>For example, I operate another site using CMS Made Simple (<a href="http://www.teachbabel.com">Babel</a>).  I wrote some modules for the website to make it do exactly what I wanted&#8230; and that meant spending a lot of time mucking through the CMS&#8217; source code.</p>
<p>Like most projects, the source code was not well commented or documented.  The code didn&#8217;t follow the highest standards of coding, either, and I found myself wanting to stop and fix little problems in it as I went.</p>
<p>No, I definitely find it an annoying chore to read through someone else&#8217;s code when it&#8217;s not well-written and well-documented.  That&#8217;s part of the reason I always try to make my own code as clear as possible, with documentation throughout.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/02/01/time-learning-programming/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

