<?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 for I does Javascript!</title>
	<atom:link href="http://blog.stchur.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stchur.com</link>
	<description>If you don&#039;t expect too much from me, you might not be let down.</description>
	<lastBuildDate>Mon, 20 May 2013 14:00:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on IE quirk with onload event for &lt;img&gt; elements by Samuel</title>
		<link>http://blog.stchur.com/2008/02/26/ie-quirk-with-onload-event-for-img-elements/comment-page-1/#comment-267005</link>
		<dc:creator>Samuel</dc:creator>
		<pubDate>Mon, 20 May 2013 14:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/02/26/ie-quirk-with-onload-event-for-img-elements/#comment-267005</guid>
		<description><![CDATA[I got this problem this week also with IE 10. The event was fired _sometimes_. Like with random probability. Did not know a solution for that yet. Thanks a lot for sharing this!]]></description>
		<content:encoded><![CDATA[<p>I got this problem this week also with IE 10. The event was fired _sometimes_. Like with random probability. Did not know a solution for that yet. Thanks a lot for sharing this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Logical AND (&amp;&amp;) and Logical OR (&#124;&#124;) in Javascript by Graham</title>
		<link>http://blog.stchur.com/2007/02/14/logical-and-and-logical-or-in-javascript/comment-page-1/#comment-261241</link>
		<dc:creator>Graham</dc:creator>
		<pubDate>Fri, 19 Apr 2013 12:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/02/14/logical-and-and-logical-or-in-javascript/#comment-261241</guid>
		<description><![CDATA[Thanks for this explanation. I came across this use of the &#124;&#124; operator in some code and couldn&#039;t work out what was going on. This article really helped.]]></description>
		<content:encoded><![CDATA[<p>Thanks for this explanation. I came across this use of the || operator in some code and couldn&#039;t work out what was going on. This article really helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE quirk with onload event for &lt;img&gt; elements by Soupatowtow</title>
		<link>http://blog.stchur.com/2008/02/26/ie-quirk-with-onload-event-for-img-elements/comment-page-1/#comment-260359</link>
		<dc:creator>Soupatowtow</dc:creator>
		<pubDate>Mon, 15 Apr 2013 13:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/02/26/ie-quirk-with-onload-event-for-img-elements/#comment-260359</guid>
		<description><![CDATA[Thanks a lot !]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on True private variables in Javascript with prototype by sstchur</title>
		<link>http://blog.stchur.com/2011/09/26/true-private-variables-in-javascript-with-prototype/comment-page-1/#comment-259251</link>
		<dc:creator>sstchur</dc:creator>
		<pubDate>Tue, 09 Apr 2013 17:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/?p=179#comment-259251</guid>
		<description><![CDATA[Igor, I honestly don&#039;t have much to offer you, unfortunately.  I wasn&#039;t attempting to solve any sort of inheritance problems.  In fact, I wasn&#039;t really attempting to solve any &quot;real&quot; problem with this post.  It was more of an &quot;information only&quot; type post.  I even say, directly in it, that I don&#039;t really recommend it.  It was more a proof of concept -- is it even possible to use prototype and still have truly private variables.  That&#039;s what I was attempting to demonstrate.

The truth though, is that I&#039;ve never used this, and honestly don&#039;t think I ever would.  I think it&#039;s kind of a bad idea in a real-world scenario in a number of way.  But I DO think it was interesting to talk/blog about.]]></description>
		<content:encoded><![CDATA[<p>Igor, I honestly don&#039;t have much to offer you, unfortunately.  I wasn&#039;t attempting to solve any sort of inheritance problems.  In fact, I wasn&#039;t really attempting to solve any &#034;real&#034; problem with this post.  It was more of an &#034;information only&#034; type post.  I even say, directly in it, that I don&#039;t really recommend it.  It was more a proof of concept &#8212; is it even possible to use prototype and still have truly private variables.  That&#039;s what I was attempting to demonstrate.</p>
<p>The truth though, is that I&#039;ve never used this, and honestly don&#039;t think I ever would.  I think it&#039;s kind of a bad idea in a real-world scenario in a number of way.  But I DO think it was interesting to talk/blog about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on True private variables in Javascript with prototype by Mahn</title>
		<link>http://blog.stchur.com/2011/09/26/true-private-variables-in-javascript-with-prototype/comment-page-1/#comment-257805</link>
		<dc:creator>Mahn</dc:creator>
		<pubDate>Wed, 03 Apr 2013 01:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/?p=179#comment-257805</guid>
		<description><![CDATA[This method redefines the prototype of the object with every instantiation, even though the prototype itself never changes, which makes it a bad idea in several fronts. Don&#039;t use unless you are absolutely positive you know what you are doing and the implications it has.]]></description>
		<content:encoded><![CDATA[<p>This method redefines the prototype of the object with every instantiation, even though the prototype itself never changes, which makes it a bad idea in several fronts. Don&#039;t use unless you are absolutely positive you know what you are doing and the implications it has.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE Bug dealing with CSS custom cusors by Radu</title>
		<link>http://blog.stchur.com/2006/11/02/ie-bug-dealing-with-css-custom-cusors/comment-page-1/#comment-254315</link>
		<dc:creator>Radu</dc:creator>
		<pubDate>Sat, 16 Mar 2013 11:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2006/11/02/ie-bug-dealing-with-css-custom-cusors/#comment-254315</guid>
		<description><![CDATA[the next step would be to also cover having custom cursor hotspot which also requires a workaround for compatibility. I am sure the result of combining the workarounds together will be some disgusting css, all thanks to IE]]></description>
		<content:encoded><![CDATA[<p>the next step would be to also cover having custom cursor hotspot which also requires a workaround for compatibility. I am sure the result of combining the workarounds together will be some disgusting css, all thanks to IE</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE quirk with onload event for &lt;img&gt; elements by Rat</title>
		<link>http://blog.stchur.com/2008/02/26/ie-quirk-with-onload-event-for-img-elements/comment-page-1/#comment-252137</link>
		<dc:creator>Rat</dc:creator>
		<pubDate>Fri, 08 Mar 2013 07:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/02/26/ie-quirk-with-onload-event-for-img-elements/#comment-252137</guid>
		<description><![CDATA[Thanks, you saved]]></description>
		<content:encoded><![CDATA[<p>Thanks, you saved</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE quirk with onload event for &lt;img&gt; elements by Sergey Tselovalnikov</title>
		<link>http://blog.stchur.com/2008/02/26/ie-quirk-with-onload-event-for-img-elements/comment-page-1/#comment-251094</link>
		<dc:creator>Sergey Tselovalnikov</dc:creator>
		<pubDate>Mon, 04 Mar 2013 07:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/2008/02/26/ie-quirk-with-onload-event-for-img-elements/#comment-251094</guid>
		<description><![CDATA[Thanks, it is very helpful for me!]]></description>
		<content:encoded><![CDATA[<p>Thanks, it is very helpful for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Avoiding recursion in Javascript by Everson Siqueira</title>
		<link>http://blog.stchur.com/2007/07/06/avoiding-recursion-in-javascript/comment-page-1/#comment-250600</link>
		<dc:creator>Everson Siqueira</dc:creator>
		<pubDate>Sat, 02 Mar 2013 10:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://stchur.com/blog2/2007/07/06/avoiding-recursion-in-javascript/#comment-250600</guid>
		<description><![CDATA[Andreas, it is more than an year since your suggestion for a tail recursion call... Actually this is still not available to JavaScript. Each time you call a function in JavaScript you are piling a stack execution context for that invocation. This is being frequently discussed and, at some point, recursive tail optimization will be implemented - but for now iteration is faster (and uses much less memory) than recursion.]]></description>
		<content:encoded><![CDATA[<p>Andreas, it is more than an year since your suggestion for a tail recursion call&#8230; Actually this is still not available to JavaScript. Each time you call a function in JavaScript you are piling a stack execution context for that invocation. This is being frequently discussed and, at some point, recursive tail optimization will be implemented &#8211; but for now iteration is faster (and uses much less memory) than recursion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on True private variables in Javascript with prototype by Igor</title>
		<link>http://blog.stchur.com/2011/09/26/true-private-variables-in-javascript-with-prototype/comment-page-1/#comment-248043</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Wed, 20 Feb 2013 20:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stchur.com/?p=179#comment-248043</guid>
		<description><![CDATA[Hi sstchur,

Great blog. I&#039;m currently looking for a good default pattern when working with javascript objects, privacy and inheritance. Like in the pattern book by Stefanov, you show that even prototypes can be defined inside closures to allow access on private variables. 
Where i now stumble upon (and maybe also your solution) is the following problem: If you want to use inheritance and your Cat constructor were the supertype, then you would have a subtype like e.g. FeralCat. This would look like:

var cat1 = new Cat(&#039;Garfield&#039;, 7);
FeralCat.prototype = cat1;

After the assignment, FeralCat.prototype cannot further be extended using the same smart way with closures. All of the subtype protoype members will have to be public.

Maybe your blog does not claim to solve inheritance issues, maybe i miss a point. Anyway, what do you think?]]></description>
		<content:encoded><![CDATA[<p>Hi sstchur,</p>
<p>Great blog. I&#039;m currently looking for a good default pattern when working with javascript objects, privacy and inheritance. Like in the pattern book by Stefanov, you show that even prototypes can be defined inside closures to allow access on private variables.<br />
Where i now stumble upon (and maybe also your solution) is the following problem: If you want to use inheritance and your Cat constructor were the supertype, then you would have a subtype like e.g. FeralCat. This would look like:</p>
<p>var cat1 = new Cat(&#039;Garfield&#039;, 7);<br />
FeralCat.prototype = cat1;</p>
<p>After the assignment, FeralCat.prototype cannot further be extended using the same smart way with closures. All of the subtype protoype members will have to be public.</p>
<p>Maybe your blog does not claim to solve inheritance issues, maybe i miss a point. Anyway, what do you think?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
