<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: JavaScript Gotchas</title>
	<atom:link href="http://happygiraffe.net/blog/2006/06/07/javascript-gotchas/feed/" rel="self" type="application/rss+xml" />
	<link>http://happygiraffe.net/blog/2006/06/07/javascript-gotchas/</link>
	<description></description>
	<pubDate>Sat, 22 Nov 2008 08:33:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Mike Czepiel</title>
		<link>http://happygiraffe.net/blog/2006/06/07/javascript-gotchas/#comment-680</link>
		<dc:creator>Mike Czepiel</dc:creator>
		<pubDate>Mon, 26 Jun 2006 17:57:26 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article309#comment-680</guid>
		<description>&lt;p&gt;Granted you may lose some flexibility but it may be easier and arguably more concise to just use a foreach loop.&lt;/p&gt;


	&lt;p&gt;Though that obviously doesn&#8217;t help you if you do need to determine the length, chances are it eliminates you ever caring about the length in a lot of instances.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Granted you may lose some flexibility but it may be easier and arguably more concise to just use a foreach loop.</p>
<p>Though that obviously doesn&#8217;t help you if you do need to determine the length, chances are it eliminates you ever caring about the length in a lot of instances.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic Mitchell</title>
		<link>http://happygiraffe.net/blog/2006/06/07/javascript-gotchas/#comment-679</link>
		<dc:creator>Dominic Mitchell</dc:creator>
		<pubDate>Sun, 25 Jun 2006 09:20:40 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article309#comment-679</guid>
		<description>&lt;p&gt;Eric: Thanks for the kind words.  I&#8217;ll try and stick a trackback in.  And yes, thank you for the great subtitle.  ;-)&lt;/p&gt;


	&lt;p&gt;Mathieu: Yes, that would have worked.  But it&#8217;s not the &#8220;common idiom&#8221;, so it would have just tripped up somebody else later on&#8230;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Eric: Thanks for the kind words.  I&#8217;ll try and stick a trackback in.  And yes, thank you for the great subtitle.  <img src='http://happygiraffe.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Mathieu: Yes, that would have worked.  But it&#8217;s not the &#8220;common idiom&#8221;, so it would have just tripped up somebody else later on&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://happygiraffe.net/blog/2006/06/07/javascript-gotchas/#comment-678</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Sat, 24 Jun 2006 18:13:23 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article309#comment-678</guid>
		<description>&lt;p&gt;Wow&#8212;it makes sense that this would happen in IE (that is, it&#8217;s consistent with what we know of IE&#8217;s behavior), and yet I&#8217;d never have thought of it on my own.  Fun!  If you could trackback to my post, that would be cool, since it would help tie all these scattered bits of information together.  If it doesn&#8217;t work for some reason, let me know and I&#8217;ll stick in a link.&lt;/p&gt;


	&lt;p&gt;And, hey, your site&#8217;s subtitle seems awfully familiar&#8230;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Wow&#8212;it makes sense that this would happen in IE (that is, it&#8217;s consistent with what we know of IE&#8217;s behavior), and yet I&#8217;d never have thought of it on my own.  Fun!  If you could trackback to my post, that would be cool, since it would help tie all these scattered bits of information together.  If it doesn&#8217;t work for some reason, let me know and I&#8217;ll stick in a link.</p>
<p>And, hey, your site&#8217;s subtitle seems awfully familiar&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathieu 'p01' HENRI</title>
		<link>http://happygiraffe.net/blog/2006/06/07/javascript-gotchas/#comment-677</link>
		<dc:creator>Mathieu 'p01' HENRI</dc:creator>
		<pubDate>Sat, 24 Jun 2006 15:22:00 +0000</pubDate>
		<guid isPermaLink="false">tag:happygiraffe.net:Article309#comment-677</guid>
		<description>&lt;p&gt;That&#8217;s why I prefer the following syntax:&lt;/p&gt;


	&lt;p&gt;for( var i=0,currentHeader; currentHeader=headers[i]; i++ )
{
    // here be some amazing code
}&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>That&#8217;s why I prefer the following syntax:</p>
<p>for( var i=0,currentHeader; currentHeader=headers[i]; i++ )<br />
{<br />
    // here be some amazing code<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
