<?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 Emmett Pickerel&#039;s</title>
	<atom:link href="http://docsplendid.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://docsplendid.com</link>
	<description>Adventures in Javascript</description>
	<lastBuildDate>Thu, 13 Oct 2011 07:36:26 +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 RIP Dennis Ritchie by Doc Splendid</title>
		<link>http://docsplendid.com/archives/185/comment-page-1#comment-1822</link>
		<dc:creator>Doc Splendid</dc:creator>
		<pubDate>Thu, 13 Oct 2011 07:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://docsplendid.com/?p=185#comment-1822</guid>
		<description><![CDATA[http://www.muppetlabs.com/~breadbox/rip-dmr.html]]></description>
		<content:encoded><![CDATA[<p><a href="http://www.muppetlabs.com/~breadbox/rip-dmr.html" rel="nofollow">http://www.muppetlabs.com/~breadbox/rip-dmr.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on More on Randomness of Arrays by An Array of Random Thoughts &#124; Doc&#160;Emmett Splendid&#039;s</title>
		<link>http://docsplendid.com/archives/159/comment-page-1#comment-1811</link>
		<dc:creator>An Array of Random Thoughts &#124; Doc&#160;Emmett Splendid&#039;s</dc:creator>
		<pubDate>Sun, 14 Aug 2011 02:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://docsplendid.com/?p=159#comment-1811</guid>
		<description><![CDATA[[...] UPDATE: I have a much better method now in this post! [...]]]></description>
		<content:encoded><![CDATA[<p>[...] UPDATE: I have a much better method now in this post! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An Array of Random Thoughts by More on Randomness of Arrays &#124; Doc&#160;Emmett Splendid&#039;s</title>
		<link>http://docsplendid.com/archives/144/comment-page-1#comment-1810</link>
		<dc:creator>More on Randomness of Arrays &#124; Doc&#160;Emmett Splendid&#039;s</dc:creator>
		<pubDate>Sun, 14 Aug 2011 02:40:20 +0000</pubDate>
		<guid isPermaLink="false">http://emmett.be/thewebdev/?p=144#comment-1810</guid>
		<description><![CDATA[[...] few months ago, I posted about how the classic method most JS programmers would use to randomise an array completely fails. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] few months ago, I posted about how the classic method most JS programmers would use to randomise an array completely fails. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An Array of Random Thoughts by Doc Splendid</title>
		<link>http://docsplendid.com/archives/144/comment-page-1#comment-1809</link>
		<dc:creator>Doc Splendid</dc:creator>
		<pubDate>Sat, 13 Aug 2011 22:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://emmett.be/thewebdev/?p=144#comment-1809</guid>
		<description><![CDATA[UPDATE: Instead of the partially functional solution above, use the one in this post:

http://docsplendid.com/archives/159]]></description>
		<content:encoded><![CDATA[<p>UPDATE: Instead of the partially functional solution above, use the one in this post:</p>
<p><a href="http://docsplendid.com/archives/159" rel="nofollow">http://docsplendid.com/archives/159</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An Array of Random Thoughts by Doc Splendid</title>
		<link>http://docsplendid.com/archives/144/comment-page-1#comment-1808</link>
		<dc:creator>Doc Splendid</dc:creator>
		<pubDate>Sat, 13 Aug 2011 21:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://emmett.be/thewebdev/?p=144#comment-1808</guid>
		<description><![CDATA[Thanks! I suppose in games there&#039;s a lot of call for this sort of thing.

I really need to do a follow-up on this, as I&#039;ve since come up with a more foolproof way of randomising an array. This was just the method I used when someone needed an answer in an hour. :)]]></description>
		<content:encoded><![CDATA[<p>Thanks! I suppose in games there&#8217;s a lot of call for this sort of thing.</p>
<p>I really need to do a follow-up on this, as I&#8217;ve since come up with a more foolproof way of randomising an array. This was just the method I used when someone needed an answer in an hour. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on An Array of Random Thoughts by David Schroeder</title>
		<link>http://docsplendid.com/archives/144/comment-page-1#comment-1807</link>
		<dc:creator>David Schroeder</dc:creator>
		<pubDate>Sat, 13 Aug 2011 16:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://emmett.be/thewebdev/?p=144#comment-1807</guid>
		<description><![CDATA[Hi Emmett,

Great post. I shared and discussed your page with a couple friends.]]></description>
		<content:encoded><![CDATA[<p>Hi Emmett,</p>
<p>Great post. I shared and discussed your page with a couple friends.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Caveats of the JS Module Pattern by Emmett Pickerel</title>
		<link>http://docsplendid.com/archives/96/comment-page-1#comment-1094</link>
		<dc:creator>Emmett Pickerel</dc:creator>
		<pubDate>Wed, 13 Apr 2011 00:21:17 +0000</pubDate>
		<guid isPermaLink="false">http://emmett.be/thewebdev/?p=96#comment-1094</guid>
		<description><![CDATA[&lt;a href=&quot;#comment-586&quot; rel=&quot;nofollow&quot;&gt;@Adam&lt;/a&gt; 
My apologies for not getting to your comment sooner.

The need for private namespace is not limited to singletons. Strictly speaking, the above is a factory function that produces module instances.

For further development on this, please see my post on the SMIRF pattern:
http://emmett.be/thewebdev/archives/131]]></description>
		<content:encoded><![CDATA[<p><a href="#comment-586" rel="nofollow">@Adam</a><br />
My apologies for not getting to your comment sooner.</p>
<p>The need for private namespace is not limited to singletons. Strictly speaking, the above is a factory function that produces module instances.</p>
<p>For further development on this, please see my post on the SMIRF pattern:<br />
<a href="http://emmett.be/thewebdev/archives/131" rel="nofollow">http://emmett.be/thewebdev/archives/131</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Caveats of the JS Module Pattern by Adam</title>
		<link>http://docsplendid.com/archives/96/comment-page-1#comment-586</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 08 Feb 2011 16:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://emmett.be/thewebdev/?p=96#comment-586</guid>
		<description><![CDATA[Perhaps I&#039;ve misunderstood something.  I thought the idea behind modules was to implement namespaces which are are missing in javascript.  Name spaces are unique, so modules should be instantiated as singletons.  If the module code is being used as a factory method then two distinct ideas are being conflated.]]></description>
		<content:encoded><![CDATA[<p>Perhaps I&#8217;ve misunderstood something.  I thought the idea behind modules was to implement namespaces which are are missing in javascript.  Name spaces are unique, so modules should be instantiated as singletons.  If the module code is being used as a factory method then two distinct ideas are being conflated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE and newlines from innerHTML by Andrei</title>
		<link>http://docsplendid.com/archives/33/comment-page-1#comment-203</link>
		<dc:creator>Andrei</dc:creator>
		<pubDate>Fri, 24 Dec 2010 15:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://emmett.be/thewebdev/?p=33#comment-203</guid>
		<description><![CDATA[Thanks man, it was exactly what I was looking for!]]></description>
		<content:encoded><![CDATA[<p>Thanks man, it was exactly what I was looking for!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Caveats of the JS Module Pattern by Emmett Pickerel</title>
		<link>http://docsplendid.com/archives/96/comment-page-1#comment-102</link>
		<dc:creator>Emmett Pickerel</dc:creator>
		<pubDate>Wed, 21 Jul 2010 20:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://emmett.be/thewebdev/?p=96#comment-102</guid>
		<description><![CDATA[&lt;a href=&quot;#comment-96&quot; rel=&quot;nofollow&quot;&gt;@Frederic&lt;/a&gt; 

That is a valid programming pattern, and I&#039;ve played with it a lot. The big issue there is that none of the prototype functions will have access to private variables or methods. In essence, they will be executing in a completely different context from the inner methods. Those inner defined methods will either need to be 100% responsible for the object state or provide public methods with *direct* access to the private variables and methods, thus breaking the encapsulation.]]></description>
		<content:encoded><![CDATA[<p><a href="#comment-96" rel="nofollow">@Frederic</a> </p>
<p>That is a valid programming pattern, and I&#8217;ve played with it a lot. The big issue there is that none of the prototype functions will have access to private variables or methods. In essence, they will be executing in a completely different context from the inner methods. Those inner defined methods will either need to be 100% responsible for the object state or provide public methods with *direct* access to the private variables and methods, thus breaking the encapsulation.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
