<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Implementing super in JavaScript</title>
	<atom:link href="http://jonathanfine.wordpress.com/2008/09/21/implementing-super-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanfine.wordpress.com/2008/09/21/implementing-super-in-javascript/</link>
	<description>A journey from TeX to Python, with some interesting diversions</description>
	<lastBuildDate>Mon, 03 Aug 2009 19:33:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mitchell</title>
		<link>http://jonathanfine.wordpress.com/2008/09/21/implementing-super-in-javascript/#comment-49</link>
		<dc:creator>mitchell</dc:creator>
		<pubDate>Wed, 22 Oct 2008 23:42:40 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanfine.wordpress.com/?p=26#comment-49</guid>
		<description>Thanks for the reply and for the one over on my post. I was going to make sure you know I replied to the side effect concern and your other question there. I&#039;m ignorant of what problems can be caused by side effects so I just asked for more info if you have it.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply and for the one over on my post. I was going to make sure you know I replied to the side effect concern and your other question there. I&#8217;m ignorant of what problems can be caused by side effects so I just asked for more info if you have it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonathanfine</title>
		<link>http://jonathanfine.wordpress.com/2008/09/21/implementing-super-in-javascript/#comment-48</link>
		<dc:creator>jonathanfine</dc:creator>
		<pubDate>Wed, 22 Oct 2008 05:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanfine.wordpress.com/?p=26#comment-48</guid>
		<description>@mitchell:
Here&#039;s a problem.  The following code usually has a side effect.

backup = this[prop]; delete this[prop]; this[prop] = backup;</description>
		<content:encoded><![CDATA[<p>@mitchell:<br />
Here&#8217;s a problem.  The following code usually has a side effect.</p>
<p>backup = this[prop]; delete this[prop]; this[prop] = backup;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mitchell</title>
		<link>http://jonathanfine.wordpress.com/2008/09/21/implementing-super-in-javascript/#comment-47</link>
		<dc:creator>mitchell</dc:creator>
		<pubDate>Tue, 21 Oct 2008 22:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanfine.wordpress.com/?p=26#comment-47</guid>
		<description>I enjoyed reading over this. Allow me to suggest a simpler way that you yourself hinted at in this paragraph:

&lt;blockquote&gt;We wish to call the method A.getA, but with the special this object being the object c. If it were not for C have the spoiler method C.getA, we could write c.getA() to call A.getA with this being c. But the spoiler is there, so we have to do something else.&lt;/blockquote&gt;

If the &#039;spoiler&#039; method is in the way, why not just move it out of the way for moment? Like so:
&lt;code&gt;var backup = c.getA;
delete c.getA;
c.getA(); //the &#039;super&#039; call
c.getA = backup;&lt;/code&gt;

What do you think? Just yesterday I posted &lt;a href=&quot;http://highlight.tumblr.com/post/55510055/&quot; title=&quot;A suggestion for simple super support in javascript&quot; rel=&quot;nofollow&quot;&gt;about this topic&lt;/a&gt; on my fledgling blog. I more or less summed it up here but check it out the full version if you feel inclined.</description>
		<content:encoded><![CDATA[<p>I enjoyed reading over this. Allow me to suggest a simpler way that you yourself hinted at in this paragraph:</p>
<blockquote><p>We wish to call the method A.getA, but with the special this object being the object c. If it were not for C have the spoiler method C.getA, we could write c.getA() to call A.getA with this being c. But the spoiler is there, so we have to do something else.</p></blockquote>
<p>If the &#8217;spoiler&#8217; method is in the way, why not just move it out of the way for moment? Like so:<br />
<code>var backup = c.getA;<br />
delete c.getA;<br />
c.getA(); //the 'super' call<br />
c.getA = backup;</code></p>
<p>What do you think? Just yesterday I posted <a href="http://highlight.tumblr.com/post/55510055/" title="A suggestion for simple super support in javascript" rel="nofollow">about this topic</a> on my fledgling blog. I more or less summed it up here but check it out the full version if you feel inclined.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
