<?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>myFunc &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/myfunc/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>JavaScript optimization. Optimizing IF statements.</title>
		<link>/2010/02/07/javascript-optimization-optimizing-if-statements/</link>
		<comments>/2010/02/07/javascript-optimization-optimizing-if-statements/#respond</comments>
		<pubDate>Sun, 07 Feb 2010 07:51:41 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[Computer programming]]></category>
		<category><![CDATA[Computer science]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Conditional]]></category>
		<category><![CDATA[JavaScript programming language]]></category>
		<category><![CDATA[JavaScript syntax]]></category>
		<category><![CDATA[myFunc]]></category>

		<guid isPermaLink="false">/?p=1053</guid>
		<description><![CDATA[IF statements in JavaScript and the normal world! In fact every normal developer will try to make his code as readable as possible. In a normal world a JavaScript IF statement will look like so: if ( expression ) myFunc(); where expression is something that can be either true or false and myFunc is just &#8230; <a href="/2010/02/07/javascript-optimization-optimizing-if-statements/" class="more-link">Continue reading <span class="screen-reader-text">JavaScript optimization. Optimizing IF statements.</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/03/14/javascript-snippets-if-statements-optimization/" rel="bookmark" title="JavaScript Snippets: IF Statements Optimization">JavaScript Snippets: IF Statements Optimization </a></li>
<li><a href="/2010/03/14/javascript-snippets-if-statements-optimization-part-2/" rel="bookmark" title="JavaScript Snippets: IF Statements Optimization Part 2">JavaScript Snippets: IF Statements Optimization Part 2 </a></li>
<li><a href="/2010/03/09/what-make-javascript-closures-work/" rel="bookmark" title="What make JavaScript closures work?">What make JavaScript closures work? </a></li>
<li><a href="/2011/07/12/a-javascript-trick-you-should-know/" rel="bookmark" title="A JavaScript Trick You Should Know">A JavaScript Trick You Should Know </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>IF statements in JavaScript and the normal world!</h2>
<p>In fact every normal developer will try to make his code as readable as possible. In a normal world a JavaScript IF statement will look like so:</p>
<blockquote>
<pre>if ( expression ) myFunc();</pre>
</blockquote>
<p>where expression is something that can be either true or false and myFunc is just an example what can be called if the expression is true.</p>
<h2>But that&#8217;s JavaScript?!</h2>
<p>Yes, and just because is JavaScript every single character is important. Actually you can convert the row above with that one bellow:</p>
<blockquote>
<pre>expression &amp;&amp; myFunc()</pre>
</blockquote>
<p>Than if expression is faulty myFunc() will not be called. That is really extreme and in the same time is quite clear to read.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/03/14/javascript-snippets-if-statements-optimization/" rel="bookmark" title="JavaScript Snippets: IF Statements Optimization">JavaScript Snippets: IF Statements Optimization </a></li>
<li><a href="/2010/03/14/javascript-snippets-if-statements-optimization-part-2/" rel="bookmark" title="JavaScript Snippets: IF Statements Optimization Part 2">JavaScript Snippets: IF Statements Optimization Part 2 </a></li>
<li><a href="/2010/03/09/what-make-javascript-closures-work/" rel="bookmark" title="What make JavaScript closures work?">What make JavaScript closures work? </a></li>
<li><a href="/2011/07/12/a-javascript-trick-you-should-know/" rel="bookmark" title="A JavaScript Trick You Should Know">A JavaScript Trick You Should Know </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/02/07/javascript-optimization-optimizing-if-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
