<?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>JacksonDunstan.com &#187; conditionals</title>
	<atom:link href="http://jacksondunstan.com/articles/tag/conditionals/feed" rel="self" type="application/rss+xml" />
	<link>http://jacksondunstan.com</link>
	<description>Mastering AS3</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:00:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Conditionals Performance</title>
		<link>http://jacksondunstan.com/articles/793</link>
		<comments>http://jacksondunstan.com/articles/793#comments</comments>
		<pubDate>Mon, 16 Aug 2010 09:00:07 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[conditionals]]></category>
		<category><![CDATA[else]]></category>
		<category><![CDATA[if]]></category>
		<category><![CDATA[if-else]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[ternary]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=793</guid>
		<description><![CDATA[Now that the Flash Player 10.1 testing is through I can return to a comment asking about the performance difference between if-else chains and the ternary (? :) operator. Further, I&#8217;ll discuss switch statements to see if there is any difference in performance for these commonly-used methods of flow control. All AS3 programmers make tons [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/793/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Conditional Compilation</title>
		<link>http://jacksondunstan.com/articles/502</link>
		<comments>http://jacksondunstan.com/articles/502#comments</comments>
		<pubDate>Mon, 30 Nov 2009 09:00:21 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[conditionals]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=502</guid>
		<description><![CDATA[MXMLC&#8217;s -define feature allows you to do two things: compile-time constants (as covered previously) and conditional compilation. Both are very useful, so today I&#8217;m covering conditional compilation. Conditional compilation is, thankfully, also simple. All you need to do is surround your code with a compile-time constant: // Hide the context menu's built-in items in the [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/502/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pointless Code</title>
		<link>http://jacksondunstan.com/articles/209</link>
		<comments>http://jacksondunstan.com/articles/209#comments</comments>
		<pubDate>Fri, 31 Jul 2009 09:00:57 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[conditionals]]></category>
		<category><![CDATA[operators]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=209</guid>
		<description><![CDATA[We&#8217;ve all seen it, perhaps even in our own code. It&#8217;s something I think we do because we&#8217;re not really sure what would happen if we didn&#8217;t do it. Here are some little tidbits of pointless code I&#8217;ve been seeing recently: For starters, here&#8217;s a quick review of the default values of class fields: class [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/209/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Spot The Problem</title>
		<link>http://jacksondunstan.com/articles/24</link>
		<comments>http://jacksondunstan.com/articles/24#comments</comments>
		<pubDate>Fri, 12 Jun 2009 09:00:12 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[conditionals]]></category>
		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=24</guid>
		<description><![CDATA[You could probably do this in most languages and it might be hard to spot. See for yourself. Sometimes it takes quite a while to spot a silly mistake you&#8217;ve made. This was one of them. See if you can spot what I did wrong: if &#40;x == 3 &#38;&#38; y == 2&#41; &#123; val [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/24/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Truth of Strings</title>
		<link>http://jacksondunstan.com/articles/42</link>
		<comments>http://jacksondunstan.com/articles/42#comments</comments>
		<pubDate>Mon, 08 Jun 2009 05:07:05 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[conditionals]]></category>
		<category><![CDATA[strings]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=42</guid>
		<description><![CDATA[What strings are true? The answer may surprise you. AS3 and JavaScript allow for type conversion in a variety of scenarios. Sometimes strings can type type converted, such as these functions: function isStringTrue1&#40;str:String&#41;: Boolean &#123; // Implicit type conversion of str from String to Boolean if &#40;str&#41; &#123; return true; &#125; else &#123; return false; [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/42/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fancy Or</title>
		<link>http://jacksondunstan.com/articles/48</link>
		<comments>http://jacksondunstan.com/articles/48#comments</comments>
		<pubDate>Mon, 08 Jun 2009 05:05:30 +0000</pubDate>
		<dc:creator>jackson</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[conditionals]]></category>
		<category><![CDATA[operators]]></category>

		<guid isPermaLink="false">http://jacksondunstan.com/?p=48</guid>
		<description><![CDATA[The lowly &#124;&#124; operator in the hands of AS3 and JavaScript is not so lowly. Here&#8217;s a quick time saver. I&#8217;d probably written code like this a thousand times before I knew this trick: function printError&#40;error:String&#41;: void &#123; trace&#40;&#34;Error: &#34; + &#40;error != null ? error : &#34;Unknown error&#34;&#41;&#41;; &#125; This would be the perfectly [...]]]></description>
		<wfw:commentRss>http://jacksondunstan.com/articles/48/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

