<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Of Function Scope and Lexical Scoping</title>
	<atom:link href="http://pierrespring.com/2010/05/11/function-scope-and-lexical-scoping/feed/" rel="self" type="application/rss+xml" />
	<link>http://pierrespring.com/2010/05/11/function-scope-and-lexical-scoping/</link>
	<description>geek, punk, pussy …</description>
	<lastBuildDate>Sun, 05 May 2013 13:21:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Eden</title>
		<link>http://pierrespring.com/2010/05/11/function-scope-and-lexical-scoping/comment-page-1/#comment-47718</link>
		<dc:creator>Eden</dc:creator>
		<pubDate>Sun, 05 May 2013 13:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://pierrespring.com/?p=48#comment-47718</guid>
		<description><![CDATA[Let&#039;s do a little thought experiment:

Imagine a language (it doesn&#039;t matter whether or not such a language exists) that provides for the scope of an inner function to encompass the scope of its outer function BUT, by whatever means, DOES NOT provide for that inner function still to have access to the outer scope once the outer function has returned.

In that case, you would have Lexical Scoping but not Closure.

For this reason, I contend that, whereas &quot;Lexical Scoping&quot; is synonymous with &quot;Static Scoping&quot;, neither term is synonymous with &quot;Closure&quot;, however, Lexical/Static Scoping is a PREREQUISITE for Closure.]]></description>
		<content:encoded><![CDATA[<p>Let&#8217;s do a little thought experiment:</p>
<p>Imagine a language (it doesn&#8217;t matter whether or not such a language exists) that provides for the scope of an inner function to encompass the scope of its outer function BUT, by whatever means, DOES NOT provide for that inner function still to have access to the outer scope once the outer function has returned.</p>
<p>In that case, you would have Lexical Scoping but not Closure.</p>
<p>For this reason, I contend that, whereas &#8220;Lexical Scoping&#8221; is synonymous with &#8220;Static Scoping&#8221;, neither term is synonymous with &#8220;Closure&#8221;, however, Lexical/Static Scoping is a PREREQUISITE for Closure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob</title>
		<link>http://pierrespring.com/2010/05/11/function-scope-and-lexical-scoping/comment-page-1/#comment-36403</link>
		<dc:creator>Jakob</dc:creator>
		<pubDate>Thu, 20 Dec 2012 08:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://pierrespring.com/?p=48#comment-36403</guid>
		<description><![CDATA[Thank you for this article, it helped me a lot!]]></description>
		<content:encoded><![CDATA[<p>Thank you for this article, it helped me a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://pierrespring.com/2010/05/11/function-scope-and-lexical-scoping/comment-page-1/#comment-29307</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 16 Aug 2012 13:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://pierrespring.com/?p=48#comment-29307</guid>
		<description><![CDATA[JavaScript doesn&#039;t have block scope, the only way to declare new scope is with function or the `let` keyword. In your `for` loop example, you re-declare the var i which is the same as the one declared above it.]]></description>
		<content:encoded><![CDATA[<p>JavaScript doesn&#8217;t have block scope, the only way to declare new scope is with function or the `let` keyword. In your `for` loop example, you re-declare the var i which is the same as the one declared above it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Keenan</title>
		<link>http://pierrespring.com/2010/05/11/function-scope-and-lexical-scoping/comment-page-1/#comment-15</link>
		<dc:creator>Patrick Keenan</dc:creator>
		<pubDate>Mon, 17 May 2010 11:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://pierrespring.com/?p=48#comment-15</guid>
		<description><![CDATA[That&#039;s super cool. It&#039;s cool to try these examples just in the chrome debugger. I guess scoping is how jQuery does all its chaining stuff. I always wondered how that worked. Despite actionscript&#039;s similarities I don&#039;t think it has this type of scoping built in(at least in AS3). Thanks for the run down.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s super cool. It&#8217;s cool to try these examples just in the chrome debugger. I guess scoping is how jQuery does all its chaining stuff. I always wondered how that worked. Despite actionscript&#8217;s similarities I don&#8217;t think it has this type of scoping built in(at least in AS3). Thanks for the run down.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoan</title>
		<link>http://pierrespring.com/2010/05/11/function-scope-and-lexical-scoping/comment-page-1/#comment-10</link>
		<dc:creator>Yoan</dc:creator>
		<pubDate>Tue, 11 May 2010 17:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://pierrespring.com/?p=48#comment-10</guid>
		<description><![CDATA[&lt;p&gt;Played with [cci lang=&quot;javascript&quot;]__parent__[/cci] already? http://liip.to/__parent__&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Played with <code class="codecolorer javascript default"><span class="javascript">__parent__</span></code> already? <a href="http://liip.to/__parent__" rel="nofollow">http://liip.to/__parent__</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
