<?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>zahnster &#187; Programming (gen)</title>
	<atom:link href="http://zahnster.com/category/programming-gen/feed" rel="self" type="application/rss+xml" />
	<link>http://zahnster.com</link>
	<description>my name's jade. i'm a child of the internet.</description>
	<lastBuildDate>Tue, 27 Apr 2010 04:04:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A Different Kind of Stage Fright</title>
		<link>http://zahnster.com/programming-gen/a-different-kind-of-stage-fright</link>
		<comments>http://zahnster.com/programming-gen/a-different-kind-of-stage-fright#comments</comments>
		<pubDate>Tue, 31 Jul 2007 04:14:01 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[Programming (gen)]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=28</guid>
		<description><![CDATA[Even though I&#8217;m fairly confident as a web developer, there is still one big part of the development process which makes me incredibly nervous still &#8211; the hand off.
It&#8217;s a different kind of stage fright &#8211; you work on a site for weeks or months, and you know deep down that the quality of your [...]]]></description>
			<content:encoded><![CDATA[<p>Even though I&#8217;m fairly confident as a web developer, there is still one big part of the development process which makes me incredibly nervous still &#8211; the hand off.</p>
<p>It&#8217;s a different kind of stage fright &#8211; you work on a site for weeks or months, and you know deep down that the quality of your work is solid. You&#8217;ve gone through the site with a fine-toothed comb, testing the ins-and-outs, and you finally feel ready you hand it off to your peers. You hold your breath, because your application is now, for the first time ever, completely in someone else&#8217;s hands. There are no more walk-throughs; This is the real deal.</p>
<p>Will they find bugs? Will they do some combination of events that you never thought of that just happen to be devastating to the program &#8211; something you overlooked &#8211; something completely obvious that will make you feel (if not look) like a brainless fool? Are you sure you uploaded every file you needed to?</p>
<p>These are the things that run through my head every time I near the completion of a web project. It&#8217;s the time when you hold your breath and hope that your peers and clients are blown away with your product (or at least satisfied).</p>
<p>That&#8217;s my type of stage fright.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/programming-gen/a-different-kind-of-stage-fright/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bringing Politics to Facebook</title>
		<link>http://zahnster.com/programming-gen/bringing-politics-to-facebook</link>
		<comments>http://zahnster.com/programming-gen/bringing-politics-to-facebook#comments</comments>
		<pubDate>Thu, 12 Jul 2007 21:37:00 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[Programming (gen)]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=23</guid>
		<description><![CDATA[A few months ago (in May), Facebook opened up it&#8217;s web services to PHP developers worldwide. It&#8217;s yet another brilliant move by the social networking pioneers, providing your average developer with a means of creating mini-applications for Facebook users. They are totally free to develop, and have very little restrictions&#8230; you can even create commercial [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago (in May), Facebook opened up it&#8217;s web services to PHP developers worldwide. It&#8217;s yet another brilliant move by the social networking pioneers, providing your average developer with a means of creating mini-applications for Facebook users. They are totally free to develop, and have very little restrictions&#8230; you can even create commercial apps!</p>
<p>As a PHP developer, I&#8217;ve been very tempted to create a mini-app, but time and ideas have been short. However, the other day I took a &#8216;political quiz&#8217; mini-app, and the results of the quiz inspired me.</p>
<p>For those who know me well, you should know that I&#8217;m a very firm believer in the Libertarian party and philosophy. So it was without surprise that my political quiz results were personally disappointing &#8211; it&#8217;s a line graph between being a &#8216;liberal&#8217; and &#8216;conservative&#8217;. I fall in the middle of that, pretty much, with a slight lean towards the liberal side &#8211; but I really have a personal problem with being associated with liberals (to be fair, I have a problem with being labeled &#8216;conservative&#8217; as well). The real political spectrum is 2 dimensional, not 1, so during the next few weeks I am going to be designing and developing a Facebook app &#8211; a short political quiz, using the <a href="http://en.wikipedia.org/wiki/Nolan_chart">Nolan chart</a> as a way of measuring results.</p>
<p>It should be an interesting learning experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/programming-gen/bringing-politics-to-facebook/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming standards, anyone?</title>
		<link>http://zahnster.com/programming-gen/programming-standards-anyone</link>
		<comments>http://zahnster.com/programming-gen/programming-standards-anyone#comments</comments>
		<pubDate>Fri, 25 May 2007 17:51:50 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[Programming (gen)]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=16</guid>
		<description><![CDATA[So, the blog&#8217;s been pretty dead recently, which is the exact thing I didn&#8217;t want to happen. But what can you do. The &#8216;life&#8217; has been a bit hectic as of recently, but things are moving in the right direction, so it&#8217;s a good thing.
Today I feel like ranting&#8230; but not just any kind of [...]]]></description>
			<content:encoded><![CDATA[<p>So, the blog&#8217;s been pretty dead recently, which is the exact thing I didn&#8217;t want to happen. But what can you do. The &#8216;life&#8217; has been a bit hectic as of recently, but things are moving in the right direction, so it&#8217;s a good thing.</p>
<p>Today I feel like ranting&#8230; but not just any kind of rant. Hopefully it&#8217;ll be a constructive rant. If that makes any sense.</p>
<p>So my rant is all about programming standards. Over half of my job consists of going into existing code and performing maintenance on it, and to be honest, it&#8217;s one of my least favorite parts of working in the web industry. Maybe I&#8217;m just slightly obsessive over the cleanliness and readability of my own programming, but I&#8217;ve always been a really strong believer that the code you write should have meaning; six months down the road you should be able to re-open your old code and know exactly how it works.</p>
<p>The thing is &#8211; this is where the rantiness comes in &#8211; the standards of programming needed to keep your code maintainable are so simple that anyone can incorporate them! Also, these techniques were taught to me in the most fundamental of programming classes I had, dating back to high school. It doesn&#8217;t take any more time or effort, and the benefits you gain from it far outweigh any possible headache.</p>
<p>So what are these techniques? Let me mention a few of them:</p>
<ol>
<li><strong>Use variables with meaning</strong><br />
Seriously, why isn&#8217;t everyone doing this? I know typing $x might be slightly quicker to type out as you&#8217;re programming, but six months down the line are you really going to know what $x = $a*$b+$c is going to mean? Are other developers who come in to maintain the application going to know what it means? Chances are they won&#8217;t &#8211; and they&#8217;ll waste more time trying to figure it out than the time you saved by typing ten less characters.</li>
<li><strong>Comments, comments, comments!<br />
</strong>I always comment my code &#8211; perhaps I get a little too verbal sometimes, but I like explaining my programming process as the code flows. For instance, if I&#8217;m creating a function, usually I will have a short description of the function before it opens, and then within the function I&#8217;ll have brief, one-sentence comments on &#8216;code milestones&#8217;. In addition to making the code more understandable by providing other developers (and even yourself) with explanations of what your code blocks are trying to achieve, it helps out during the programming process as well &#8211; often times I&#8217;ll &#8216;comment out&#8217; my process before I even start to write any code.</li>
<li><strong>Consistency is king<br />
</strong>This one, I&#8217;ll confess, actually does take some effort, but not as much as you might think. When making changes / additions to existing code, I&#8217;ve always found that it&#8217;s best to try to emulate the original programmers &#8217;style&#8217;, as to keep consistency through the life of the app. Now, I&#8217;ll stick to the standards mentioned above; just because the old developer was using $x for everything doesn&#8217;t mean I&#8217;ll keep that, but with things like the use of include files, functional vs procedural programming flow &#8211; sure I&#8217;ll try to copy that as best I can. That way, when the next developer comes in, they don&#8217;t have to wrap their brain around 2 (or 3 or 4) different programming methods.</li>
</ol>
<p>Like I said before, these are fundamental things, and it&#8217;s just a short list. Part of me even feels weird making a blog entry about something so obvious, but this type of programming is (for some reason) not being picked up as it should. Hopefully one day I&#8217;ll live in a world where I don&#8217;t dread going into someone&#8217;s old script for some maintenance.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/programming-gen/programming-standards-anyone/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
