<?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>shaun smith &#187; Inspiration</title>
	<atom:link href="http://shaun.boyblack.co.za/blog/category/inspiration/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaun.boyblack.co.za/blog</link>
	<description>Flash, Flex, Ruby - Cape Town, SA</description>
	<lastBuildDate>Wed, 08 Sep 2010 17:56:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Clean Code</title>
		<link>http://shaun.boyblack.co.za/blog/2010/08/02/clean-code/</link>
		<comments>http://shaun.boyblack.co.za/blog/2010/08/02/clean-code/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 16:06:42 +0000</pubDate>
		<dc:creator>shaun</dc:creator>
				<category><![CDATA[Banter]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=911</guid>
		<description><![CDATA[I recently purchased @unclebobmartin&#8216;s awesome book: Clean Code. What a book! I&#8217;m going to echo a sentiment that often ripples through the Twittersphere: If you are a programmer and you haven&#8217;t read Clean Code you are doing your fellow programmers (and yourself) a great disservice. Seriously. For fun I decided to dig up the worst [...]]]></description>
			<content:encoded><![CDATA[<p>I recently purchased <a title="Uncle Bob on Twitter" href="http://twitter.com/unclebobmartin">@unclebobmartin</a>&#8216;s awesome book: <a title="Clean Code on Amazon" href="http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882">Clean Code</a>. What a book! I&#8217;m going to echo a sentiment that often ripples through the Twittersphere: If you are a programmer and you haven&#8217;t read Clean Code you are doing your fellow programmers (and yourself) a great disservice. Seriously.<br />
<span id="more-911"></span><br />
For fun I decided to dig up the worst code I have ever written &#8211; quite a challenge considering how much terrible code I have produced in my life! Have a look at this beauty:</p>
<p><script src="http://gist.github.com/504823.js"></script></p>
<p>Stupid names, useless comments, multiple levels of abstraction, poor error handling, super deep nesting, etc etc etc. It pretty much breaks every rule in the book. <strong>But the best bit has to be this</strong>:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$rows_to_populate</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$foreign_table</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$foreign_id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$module_name</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$db_row</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">id</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$field_name</span><span style="color: #339933;">;</span></div></div>
<p>Yes, that&#8217;s right, <strong>a five dimensional array!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://shaun.boyblack.co.za/blog/2010/08/02/clean-code/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Cognitive Surplus</title>
		<link>http://shaun.boyblack.co.za/blog/2008/07/22/cognitive-surplus/</link>
		<comments>http://shaun.boyblack.co.za/blog/2008/07/22/cognitive-surplus/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 20:40:12 +0000</pubDate>
		<dc:creator>shaun</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[talk]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=69</guid>
		<description><![CDATA[Came across a post on Kieth Peters&#8217; blog called &#8220;Where do we find the time?&#8221; that linked to this clip. Well worth watching:]]></description>
			<content:encoded><![CDATA[<p>Came across a post on<a title="Bit-101 Blog" href="http://www.bit-101.com/blog/" target="_blank"> Kieth Peters&#8217; blog</a> called <a title="Where do we find the time?" href="http://www.bit-101.com/blog/?p=1317" target="_blank">&#8220;Where do we find the time?&#8221;</a> that linked to this clip. Well worth watching:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="320" height="242" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blip.tv/play/AbTSFIa8DQ" /><embed type="application/x-shockwave-flash" width="320" height="242" src="http://blip.tv/play/AbTSFIa8DQ"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://shaun.boyblack.co.za/blog/2008/07/22/cognitive-surplus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
