<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Javascript: Function scoping</title>
	<atom:link href="http://www.markhneedham.com/blog/2010/03/10/javascript-function-scoping/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2010/03/10/javascript-function-scoping/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Wed, 08 Sep 2010 21:07:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: simon</title>
		<link>http://www.markhneedham.com/blog/2010/03/10/javascript-function-scoping/comment-page-1/#comment-33927</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Tue, 23 Mar 2010 14:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2241#comment-33927</guid>
		<description>yes, this stumbling block in JS is often mentioned.

everyone uses the for-loop example, which i find highly contrived (though easy to grasp).

A JS developer will always use Array.forEach(callback) anyways - solving the problem without ever encountering it.</description>
		<content:encoded><![CDATA[<p>yes, this stumbling block in JS is often mentioned.</p>
<p>everyone uses the for-loop example, which i find highly contrived (though easy to grasp).</p>
<p>A JS developer will always use Array.forEach(callback) anyways &#8211; solving the problem without ever encountering it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.markhneedham.com/blog/2010/03/10/javascript-function-scoping/comment-page-1/#comment-33265</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Fri, 12 Mar 2010 07:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2241#comment-33265</guid>
		<description>Unfortunately I must say: I read about this so many times, and it is such a well known topic (at least for experienced JS developers), I really wonder what this artice here is good for. But at least the article is written quite well.</description>
		<content:encoded><![CDATA[<p>Unfortunately I must say: I read about this so many times, and it is such a well known topic (at least for experienced JS developers), I really wonder what this artice here is good for. But at least the article is written quite well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.markhneedham.com/blog/2010/03/10/javascript-function-scoping/comment-page-1/#comment-33249</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 12 Mar 2010 00:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2241#comment-33249</guid>
		<description>Not only is it function scope but variables are hoisted. I personally find it helpful to adopt the one var per function style in JavaScript. Your own mileage may vary.</description>
		<content:encoded><![CDATA[<p>Not only is it function scope but variables are hoisted. I personally find it helpful to adopt the one var per function style in JavaScript. Your own mileage may vary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe Lima</title>
		<link>http://www.markhneedham.com/blog/2010/03/10/javascript-function-scoping/comment-page-1/#comment-33233</link>
		<dc:creator>Felipe Lima</dc:creator>
		<pubDate>Thu, 11 Mar 2010 17:19:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2241#comment-33233</guid>
		<description>Very cool post. Thanks a lot for clarifying this. I&#039;ve caught myself striving with closures in js several times and never had the chance to realize that variables are function scoped, instead of block scoped.</description>
		<content:encoded><![CDATA[<p>Very cool post. Thanks a lot for clarifying this. I've caught myself striving with closures in js several times and never had the chance to realize that variables are function scoped, instead of block scoped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://www.markhneedham.com/blog/2010/03/10/javascript-function-scoping/comment-page-1/#comment-33217</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Thu, 11 Mar 2010 10:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=2241#comment-33217</guid>
		<description>Sadly, yes, that is the correct answer.</description>
		<content:encoded><![CDATA[<p>Sadly, yes, that is the correct answer.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
