
<?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>brandontreb.com &#187; Programming</title>
	<atom:link href="http://brandontreb.com/category/nerdyness/programming-nerdyness/feed/" rel="self" type="application/rss+xml" />
	<link>http://brandontreb.com</link>
	<description>Code, Nerdyness, and Nonsense</description>
	<lastBuildDate>Wed, 07 Jul 2010 00:23:24 +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>HECK YES C Macro, For When Something Is REALLY True</title>
		<link>http://brandontreb.com/heck-yes-c-macro-for-when-something-is-really-true/</link>
		<comments>http://brandontreb.com/heck-yes-c-macro-for-when-something-is-really-true/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 21:01:06 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Nerdyness]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[caffeine]]></category>
		<category><![CDATA[compiler directives]]></category>
		<category><![CDATA[macro]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=828</guid>
		<description><![CDATA[Quite possibly the most useful macro you will ever use. #define HECK_YES true &#38;&#38; true &#160; // Usage if&#40;self.sleepy&#41; &#123; self.needsCoffee = HECK_YES; &#125; Now if only I could replace semi colons with exclamation points&#8230;]]></description>
			<content:encoded><![CDATA[<p>Quite possibly the most useful macro you will ever use.</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#define HECK_YES true &amp;&amp; true</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Usage</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>self.<span style="color: #202020;">sleepy</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
   self.<span style="color: #202020;">needsCoffee</span> <span style="color: #339933;">=</span> HECK_YES<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Now if only I could replace semi colons with exclamation points&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/heck-yes-c-macro-for-when-something-is-really-true/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Emacs For OSX Is Out!</title>
		<link>http://brandontreb.com/emacs-for-osx-is-out/</link>
		<comments>http://brandontreb.com/emacs-for-osx-is-out/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 21:44:29 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Nerdyness]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[emacs mac]]></category>
		<category><![CDATA[emacs osx]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=768</guid>
		<description><![CDATA[<p style="text-align: left;"><a href="http://emacsformacosx.com/"><img class="size-medium wp-image-769 alignnone" title="Screen shot 2010-01-29 at 2.39.44 PM" src="http://brandontreb.com/wp-content/uploads/2010/01/Screen-shot-2010-01-29-at-2.39.44-PM-500x498.png" alt="" width="500" height="498" /></a></p>
<p style="text-align: center;">For all you Vi using, Emacs haters out there, I will fight you!</p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://emacsformacosx.com/"><img class="size-medium wp-image-769 alignnone" title="Screen shot 2010-01-29 at 2.39.44 PM" src="http://brandontreb.com/wp-content/uploads/2010/01/Screen-shot-2010-01-29-at-2.39.44-PM-500x498.png" alt="" width="500" height="498" /></a></p>
<p style="text-align: center;">For all you Vi using, Emacs haters out there, I will fight you!</p>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/emacs-for-osx-is-out/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>It&#8217;s A Good Day To Be A Software Developer</title>
		<link>http://brandontreb.com/its-a-good-day-to-be-a-software-developer/</link>
		<comments>http://brandontreb.com/its-a-good-day-to-be-a-software-developer/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 17:23:38 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Nerdyness]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software developer]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=749</guid>
		<description><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-752 alignnone" title="Computer-Programmer" src="http://brandontreb.com/wp-content/uploads/2010/01/Computer-Programmer-490x500.gif" alt="" width="294" height="300" /></p>
I was just reading this article posted on CNET news <a href="http://news.cnet.com/8301-13505_3-10440254-16.html?tag=newsLatestHeadlinesArea.0">Apple's tablet: It's all about developers</a> and thought to myself, it's a great day to be a software developer.  This quote from the article got me exceptionally excited.
<blockquote>"Never have developers mattered more. As Apple readies its tablet announcement party for later Wednesday morning, the big question remaining is whether developers will join, or whether they'll join <a class="zem_slink" title="Android" rel="homepage" href="http://code.google.com/android/">Google's Android</a> and Chrome initiatives."</blockquote>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-752 alignnone" title="Computer-Programmer" src="http://brandontreb.com/wp-content/uploads/2010/01/Computer-Programmer-490x500.gif" alt="" width="294" height="300" /></p>
<p>I was just reading this article posted on CNET news <a href="http://news.cnet.com/8301-13505_3-10440254-16.html?tag=newsLatestHeadlinesArea.0">Apple&#8217;s tablet: It&#8217;s all about developers</a> and thought to myself, it&#8217;s a great day to be a software developer.  This quote from the article got me exceptionally excited.</p>
<blockquote><p>&#8220;Never have developers mattered more. As Apple readies its tablet announcement party for later Wednesday morning, the big question remaining is whether developers will join, or whether they&#8217;ll join <a class="zem_slink" title="Android" rel="homepage" href="http://code.google.com/android/">Google&#8217;s Android</a> and Chrome initiatives.&#8221;</p></blockquote>
<p>With the release of all of these new devices, developers have just gotten much more marketable.  It&#8217;s amazing how our worth skyrockets with every new Apple, Google, or Microsoft event.  Never before have software developers had so many opportunities to be successful.</p>
<p>There are now over 100K applications in the <a class="zem_slink" title="App Store" rel="homepage" href="http://www.apple.com/iphone/appstore/">iTunes App Store</a> with over half of them being paid.  That means, Apple is making money for upwards of 50,000 software developers!</p>
<p>I for one, love being a software developer and am very excited for what the future holds for us.</p>
<div class="zemanta-pixie" style="clear: both; margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/ff060ac5-6aff-4cba-86d7-7f9d50d6ea3a/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=ff060ac5-6aff-4cba-86d7-7f9d50d6ea3a" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/its-a-good-day-to-be-a-software-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Watch Out Apple, The Kindle Dev Kit Is Almost Live</title>
		<link>http://brandontreb.com/watch-out-apple-the-kindle-dev-kit-is-almost-live/</link>
		<comments>http://brandontreb.com/watch-out-apple-the-kindle-dev-kit-is-almost-live/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 18:53:36 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Nerdyness]]></category>
		<category><![CDATA[Nonsense]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Amazon.com]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Game Boy]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[kindle api]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=739</guid>
		<description><![CDATA[<p style="text-align: center;"><a href="http://brandontreb.com/wp-content/uploads/2010/01/kindel-dev-gameboy.png"><img class="size-medium wp-image-743 aligncenter" title="kindel-dev-gameboy" src="http://brandontreb.com/wp-content/uploads/2010/01/kindel-dev-gameboy-500x333.png" alt="" width="500" height="333" /></a></p>
With the success of the Apple App Store, it seems that everyone is wanting  a piece of the pie.

Amazon is now looking to throw their hat into the ring and is releasing their own dev kit for their ever so popular Kindle.

<a href="http://www.amazon.com/gp/feature.html/?ie=UTF8&#38;docId=1000476231">http://www.amazon.com/gp/feature.html/?ie=UTF8&#38;docId=1000476231</a>

It appears that big name game developers Electronic Arts is also getting involved (WTH?!?!)

This just seems like it will be an epic fail.  Who really wants to play video games on their Kindle?  Maybe they can port <a href="http://brandontreb.com/code-monkey-music-video/">Kirby's Dreamland</a> from the original Game Boy :) .]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://brandontreb.com/wp-content/uploads/2010/01/kindel-dev-gameboy.png"><img class="size-medium wp-image-743 aligncenter" title="kindel-dev-gameboy" src="http://brandontreb.com/wp-content/uploads/2010/01/kindel-dev-gameboy-500x333.png" alt="" width="500" height="333" /></a></p>
<p>With the success of the <a class="zem_slink" title="App Store" rel="homepage" href="http://www.apple.com/iphone/appstore/">Apple App Store</a>, it seems that everyone is wanting  a piece of the pie.</p>
<p>Amazon is now looking to throw their hat into the ring and is releasing their own dev kit for their ever so popular Kindle.</p>
<p><a href="http://www.amazon.com/gp/feature.html/?ie=UTF8&amp;docId=1000476231">http://www.amazon.com/gp/feature.html/?ie=UTF8&amp;docId=1000476231</a></p>
<p>It appears that big name game developers Electronic Arts is also getting involved (WTH?!?!)</p>
<p>This just seems like it will be an epic fail.  Who really wants to play video games on their Kindle?  Maybe they can port <a href="http://brandontreb.com/code-monkey-music-video/">Kirby&#8217;s Dreamland</a> from the original Game Boy <img src='http://brandontreb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://gizmodo.com/5453395/amazon-opens-kindle-up-for-development-app-store-ahoy">Amazon Opens Kindle Up for Development: App Store Ahoy [Kindle]</a> (gizmodo.com)</li>
<li class="zemanta-article-ul-li"><a href="http://news.cnet.com/8301-13577_3-10438661-36.html?part=rss&amp;subj=news&amp;tag=2547-1_3-0-20">Amazon: Kindle app store on the way</a> (news.cnet.com)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/f48c6302-1cf7-4b20-aa9c-3b2147192e8f/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=f48c6302-1cf7-4b20-aa9c-3b2147192e8f" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/watch-out-apple-the-kindle-dev-kit-is-almost-live/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XCode Shortcut</title>
		<link>http://brandontreb.com/xcode-shortcut/</link>
		<comments>http://brandontreb.com/xcode-shortcut/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 17:07:21 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[MacBook Pro]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[xcode]]></category>
		<category><![CDATA[xcode shortcuts]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=689</guid>
		<description><![CDATA[When in XCode on a <a class="zem_slink" title="MacBook" rel="wikipedia" href="http://en.wikipedia.org/wiki/MacBook">MacBook</a> Pro, doing a 3-finger swipe up will switch between the .h and .m files.

<strong>⌘-option-up will do the same thing</strong>

Productivity++
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/d1495139-6d75-42c2-bf27-46298f91b9e4/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=d1495139-6d75-42c2-bf27-46298f91b9e4" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>]]></description>
			<content:encoded><![CDATA[<p>When in XCode on a MacBook Pro, doing a 3-finger swipe up will switch between the .h and .m files.</p>
<p><strong>⌘-option-up will do the same thing</strong></p>
<p>Productivity++</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/d1495139-6d75-42c2-bf27-46298f91b9e4/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=d1495139-6d75-42c2-bf27-46298f91b9e4" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/xcode-shortcut/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Programming Tip Of The Day #2 &#8211; Difference Between i++ and ++i</title>
		<link>http://brandontreb.com/programming-tip-of-the-day-2-difference-between-i-and-i/</link>
		<comments>http://brandontreb.com/programming-tip-of-the-day-2-difference-between-i-and-i/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 01:00:20 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Programming Tip Of The Day]]></category>
		<category><![CDATA[decremental operator]]></category>
		<category><![CDATA[i++]]></category>
		<category><![CDATA[incremental operator]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=677</guid>
		<description><![CDATA[Ok, so this should seem obvious and if I am insulting your intelligence by stating it, I am sorry.  One of the main reasons I want to discuss this is, I was asked this exact question in a job interview for Lockheed Martin.]]></description>
			<content:encoded><![CDATA[<p>To some, this should seem a bit obvious and if I am insulting your intelligence by discussing it, I am sorry.  But, one of the main reasons I want to discuss this topic is, I was asked this question in a job interview for Lockheed Martin.</p>
<p><b>What is the difference between i++ and ++i?</b></p>
<p>The answer is actually quite simple.</p>
<h3><span style="color: #00ccff;">i++</span> first evaluates the value of i and then increments it</h3>
<h3><span style="color: #00ccff;">++i</span> increments the value of i and then evaluates it</h3>
<p>Here is a brief example to demonstrate what I mean.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Example: i++ </span>
<span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;The value of i is &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span> <span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Output &quot;The value of i is 5&quot;</span>
<span style="color: #666666; font-style: italic;">// i = 6</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Example: ++i </span>
<span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;The value of i is &quot;</span> <span style="color: #339933;">.</span> <span style="color: #339933;">++</span><span style="color: #000088;">$i</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Output &quot;The value of i is 6&quot;</span>
<span style="color: #666666; font-style: italic;">// i = 6</span></pre></div></div>

<p>So, now if you are ever asked about this in an interview, you will have a response.</p>
<p>Happy programming!</p>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/programming-tip-of-the-day-2-difference-between-i-and-i/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Programming Tip Of The Day #1 &#8211; Ternary Operator</title>
		<link>http://brandontreb.com/programming-tip-of-the-day-1-ternary-operator/</link>
		<comments>http://brandontreb.com/programming-tip-of-the-day-1-ternary-operator/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 00:30:48 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Programming Tip Of The Day]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[programming tip of the day]]></category>
		<category><![CDATA[programming tips]]></category>
		<category><![CDATA[ptotd]]></category>
		<category><![CDATA[ternary]]></category>
		<category><![CDATA[ternary operator]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=667</guid>
		<description><![CDATA[<p>So, I though I'd start this series called Programming Tip Of The Day to write about useful things I come across in programming.  Both to educate my readers and as a personal archive of ideas and tips.</p>

<p>I will kick it off today with a quick rant about the <strong>ternary operator</strong>.  I &#60;3 the ternary operator.  It's quick, efficient and saves a lot of ugly code.</p>]]></description>
			<content:encoded><![CDATA[<p>So, I though I&#8217;d start this series called Programming Tip Of The Day to write about useful things I come across in programming.  Both to educate my readers and as a personal archive of ideas and tips.</p>
<p>I will kick it off today with a quick rant about the <strong>ternary operator</strong>.  I &lt;3 the ternary operator.  It&#8217;s quick, efficient and saves a lot of ugly code.</p>
<p>For those of you who don&#8217;t know, the ternary operator is made up of 3 elements: The condition and two results.  It is of the form:</p>
<h2>(condition) ? (result if true) : (result if false);</h2>
<p>This is much nicer than an if statement.  So here is a brief example about how a ternary operator can replace an if-statement.</p>
<h3>if-statement</h3>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>isSnowing<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	iMustBe <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;cold&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
	iMustBe <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;warm&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<h3>Same thing using ternary</h3>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">iMustBe <span style="color: #339933;">=</span> isSnowing <span style="color: #339933;">?</span> <span style="color: #ff0000;">&quot;cold&quot;</span> <span style="color: #339933;">:</span> <span style="color: #ff0000;">&quot;warm&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>That is so much easier to read (IMHO).  You can even do clever things in printing.  Here is a small example in PHP for using the ternary operator when doing an echo.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;I am a &quot;</span><span style="color: #339933;">.</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>height <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">72</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">&quot;tall&quot;</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;short&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; person!&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Most languages support the ternary operator.  Check out <a href="http://en.wikipedia.org/wiki/Ternary_operation">this wiki page</a> if you want more info.</p>
<p>Happy programming!</p>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/programming-tip-of-the-day-1-ternary-operator/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack.</title>
		<link>http://brandontreb.com/first-learn-computer-science-and-all-the-theory-next-develop-a-programming-style-then-forget-all-that-and-just-hack/</link>
		<comments>http://brandontreb.com/first-learn-computer-science-and-all-the-theory-next-develop-a-programming-style-then-forget-all-that-and-just-hack/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 23:12:54 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[quote]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=652</guid>
		<description><![CDATA[George Carrette [1990].]]></description>
			<content:encoded><![CDATA[<p>George Carrette [1990].</p>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/first-learn-computer-science-and-all-the-theory-next-develop-a-programming-style-then-forget-all-that-and-just-hack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Programming</title>
		<link>http://brandontreb.com/programming/</link>
		<comments>http://brandontreb.com/programming/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 18:42:48 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Nerdyness]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[college]]></category>
		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=621</guid>
		<description><![CDATA[<div class="wp-caption alignnone" style="width: 460px"><img title="Programming" src="http://abstrusegoose.com/strips/computer_science_major.PNG" alt="99% of students that were in my CS degree program" width="450" /><p class="wp-caption-text">99% of students that were in my CS degree program</p></div>
<p><em>Image taken from <a href="http://abstrusegoose.com/strips/computer_science_major.PNG" onclick="javascript:pageTracker._trackPageview('/outbound/article/abstrusegoose.com');">abtrusegoose</a></em></p>]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignnone" style="width: 460px"><img title="Programming" src="http://abstrusegoose.com/strips/computer_science_major.PNG" alt="99% of students that were in my CS degree program" width="450" /><p class="wp-caption-text">99% of students that were in my CS degree program</p></div>
<p><em>Image taken from <a href="http://abstrusegoose.com/strips/computer_science_major.PNG">abtrusegoose</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/programming/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>$13 Dollar Discount On Programming Books From Manning Publishing</title>
		<link>http://brandontreb.com/13-dollar-discount-on-programming-books-from-manning-publishing/</link>
		<comments>http://brandontreb.com/13-dollar-discount-on-programming-books-from-manning-publishing/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 16:59:46 +0000</pubDate>
		<dc:creator>brandontreb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Nerdyness]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[discounts]]></category>
		<category><![CDATA[freebies]]></category>
		<category><![CDATA[programming books]]></category>

		<guid isPermaLink="false">http://brandontreb.com/?p=614</guid>
		<description><![CDATA[<p style="text-align: center;"><a href="http://brandontreb.com/13-dollar-discount-on-programming-books-from-manning-publishing"><img class="size-full wp-image-617 aligncenter" title="manning-logo" src="http://brandontreb.com/wp-content/uploads/2009/11/manning-logo.png" alt="manning-logo" width="500" height="66" /></a></p>

The publishing that I'm writing the book for is having a huge Friday the 13th sale.  They are offering a $13 discount on all of their books.  For those of you who don't know, Manning publishes all of the "In Action" books.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://manning.com"><img class="size-full wp-image-617 aligncenter" title="manning-logo" src="http://brandontreb.com/wp-content/uploads/2009/11/manning-logo.png" alt="manning-logo" width="500" height="66" /></a></p>
<p>The publishing that I&#8217;m writing the book for is having a huge Friday the 13th sale.  They are offering a $13 discount on all of their books.  For those of you who don&#8217;t know, Manning publishes all of the &#8220;In Action&#8221; books.</p>
<p>All you have to do is <a href="http://manning.com">go to the site</a> and enter the coupon code:</p>
<h2>fri13</h2>
<p>when checking out and you will get the discount.  Although my book iPhone In Action 2nd Edition hasn&#8217;t been released yet, Manning has some other killer programming books for sale.</p>
<p>So be sure to <a href="http://manning.com">check it out</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://brandontreb.com/13-dollar-discount-on-programming-books-from-manning-publishing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
