<?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: How to use the self with object-oriented javascript and closures</title>
	<atom:link href="http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/</link>
	<description>Advanced katas for javascripters</description>
	<lastBuildDate>Fri, 30 Jul 2010 18:10:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Artur</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-939</link>
		<dc:creator>Artur</dc:creator>
		<pubDate>Fri, 30 Jul 2010 18:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-939</guid>
		<description>nice and simple explanation i like it</description>
		<content:encoded><![CDATA[<p>nice and simple explanation i like it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zahnimplantate</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-894</link>
		<dc:creator>zahnimplantate</dc:creator>
		<pubDate>Fri, 09 Apr 2010 23:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-894</guid>
		<description>An great Article! Thanks a lot :)</description>
		<content:encoded><![CDATA[<p>An great Article! Thanks a lot <img src='http://www.javascriptkata.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Druckertinte</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-856</link>
		<dc:creator>Druckertinte</dc:creator>
		<pubDate>Sat, 30 Jan 2010 14:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-856</guid>
		<description>Many Thanks and Regards from Germany. Really an usefully article</description>
		<content:encoded><![CDATA[<p>Many Thanks and Regards from Germany. Really an usefully article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: werbeagentur</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-368</link>
		<dc:creator>werbeagentur</dc:creator>
		<pubDate>Mon, 10 Dec 2007 09:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-368</guid>
		<description>For me 2 - Thanks!</description>
		<content:encoded><![CDATA[<p>For me 2 &#8211; Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Werbeagentur</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-223</link>
		<dc:creator>Werbeagentur</dc:creator>
		<pubDate>Sat, 17 Nov 2007 19:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-223</guid>
		<description>Thanks. It is very usefully for me...

THANKS THANKS</description>
		<content:encoded><![CDATA[<p>Thanks. It is very usefully for me&#8230;</p>
<p>THANKS THANKS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: troels</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-222</link>
		<dc:creator>troels</dc:creator>
		<pubDate>Fri, 18 May 2007 22:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-222</guid>
		<description>You don&#039;t need to pollute your script with prototype; Mochikit (And probably all other js libraries, worth their salt) has an implementation, which doesn&#039;t mess up the built-ins of javascript:
http://www.mochikit.com/doc/html/MochiKit/Base.html#fn-bind

And if you come from a class based, object oriented mindset, bindMethods may be helpful too:
http://www.mochikit.com/doc/html/MochiKit/Base.html#fn-bindmethods</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to pollute your script with prototype; Mochikit (And probably all other js libraries, worth their salt) has an implementation, which doesn&#8217;t mess up the built-ins of javascript:<br />
<a href="http://www.mochikit.com/doc/html/MochiKit/Base.html#fn-bind" rel="nofollow">http://www.mochikit.com/doc/html/MochiKit/Base.html#fn-bind</a></p>
<p>And if you come from a class based, object oriented mindset, bindMethods may be helpful too:<br />
<a href="http://www.mochikit.com/doc/html/MochiKit/Base.html#fn-bindmethods" rel="nofollow">http://www.mochikit.com/doc/html/MochiKit/Base.html#fn-bindmethods</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin Diaz</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-221</link>
		<dc:creator>Dustin Diaz</dc:creator>
		<pubDate>Fri, 18 May 2007 22:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-221</guid>
		<description>I personally use &quot;that&quot; just because it seems logical what you want access to from within the closure. You want &quot;that&quot; :). If you reference &quot;self&quot; within the closure... it&#039;s really the self outside of yourself... so it&#039;s not really yourself.</description>
		<content:encoded><![CDATA[<p>I personally use &#8220;that&#8221; just because it seems logical what you want access to from within the closure. You want &#8220;that&#8221; <img src='http://www.javascriptkata.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . If you reference &#8220;self&#8221; within the closure&#8230; it&#8217;s really the self outside of yourself&#8230; so it&#8217;s not really yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordan</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-220</link>
		<dc:creator>Jordan</dc:creator>
		<pubDate>Fri, 18 May 2007 14:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-220</guid>
		<description>I wouldn&#039;t recommend using &quot;self&quot; because it could be confused with the the &quot;self&quot; property of the &quot;window&quot; object. But anyways, other naming conventions I&#039;ve seen for &quot;this&quot; are &quot;_this, that, thiz and tmp&quot;.</description>
		<content:encoded><![CDATA[<p>I wouldn&#8217;t recommend using &#8220;self&#8221; because it could be confused with the the &#8220;self&#8221; property of the &#8220;window&#8221; object. But anyways, other naming conventions I&#8217;ve seen for &#8220;this&#8221; are &#8220;_this, that, thiz and tmp&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Fitzgerald</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-219</link>
		<dc:creator>Patrick Fitzgerald</dc:creator>
		<pubDate>Fri, 18 May 2007 13:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-219</guid>
		<description>I&#039;ll agree with Alex, if you can use JavaScript&#039;s &quot;apply&quot; (or similar functionality offered through a framework, I use dojo&#039;s &quot;hitch&quot;), it&#039;s cleaner than using a closure with &quot;self&quot;. Perhaps this could be an additional kata...</description>
		<content:encoded><![CDATA[<p>I&#8217;ll agree with Alex, if you can use JavaScript&#8217;s &#8220;apply&#8221; (or similar functionality offered through a framework, I use dojo&#8217;s &#8220;hitch&#8221;), it&#8217;s cleaner than using a closure with &#8220;self&#8221;. Perhaps this could be an additional kata&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/comment-page-1/#comment-218</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 17 May 2007 12:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://javascriptkata.timmyontime.com/?p=39#comment-218</guid>
		<description>Thanks to all for your comments. Like I said, the word &quot;self&quot; is the most used but is not a &quot;real&quot; convention at all.

I don&#039;t use the prototype library for now and I&#039;m always surprised to see that it contains a lot of helper to simplify things for javascript... thanks to them...</description>
		<content:encoded><![CDATA[<p>Thanks to all for your comments. Like I said, the word &#8220;self&#8221; is the most used but is not a &#8220;real&#8221; convention at all.</p>
<p>I don&#8217;t use the prototype library for now and I&#8217;m always surprised to see that it contains a lot of helper to simplify things for javascript&#8230; thanks to them&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
