<?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: Global Domination</title>
	<atom:link href="http://www.yuiblog.com/blog/index.php/2006/06/01/global-domination/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/</link>
	<description>The official blog of the YUI Project.</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:46:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Hide your global objects with jQuery Secret plugin &#124; DreamersLab</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-597945</link>
		<dc:creator>Hide your global objects with jQuery Secret plugin &#124; DreamersLab</dc:creator>
		<pubDate>Tue, 05 Apr 2011 13:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-597945</guid>
		<description>[...] your code with others. For more details please take a look at Douglas Crockford&#8217;s artical at Yahoo! User Interface Blog (YUIBlog).To fix this we can wrap our code with a namespace. For example:  someNamespace = { lang : &#039;en&#039;, [...]</description>
		<content:encoded><![CDATA[<p>[...] your code with others. For more details please take a look at Douglas Crockford&#8217;s artical at Yahoo! User Interface Blog (YUIBlog).To fix this we can wrap our code with a namespace. For example:  someNamespace = { lang : &#039;en&#039;, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JSLint &#8211; A Guide To JSLint Messages &#124; James Wiseman</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-597255</link>
		<dc:creator>JSLint &#8211; A Guide To JSLint Messages &#124; James Wiseman</dc:creator>
		<pubDate>Wed, 19 Jan 2011 08:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-597255</guid>
		<description>[...] thing that is evi in JavaScriptl. So are global variables, as detailed in Douglas Crockford&#8217;s Global Domination [...]</description>
		<content:encoded><![CDATA[<p>[...] thing that is evi in JavaScriptl. So are global variables, as detailed in Douglas Crockford&#8217;s Global Domination [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-594437</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 22 Sep 2010 22:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-594437</guid>
		<description>Hey, this is great when we get authorities like yahoo trend setting it helps us in getting our smaller and maybe more stubborn people to start to listen, thanks for the help!</description>
		<content:encoded><![CDATA[<p>Hey, this is great when we get authorities like yahoo trend setting it helps us in getting our smaller and maybe more stubborn people to start to listen, thanks for the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ask Satyam: Using YQL and YUI with YQLDataSource &#187; Yahoo! User Interface Blog (YUIBlog)</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-593204</link>
		<dc:creator>Ask Satyam: Using YQL and YUI with YQLDataSource &#187; Yahoo! User Interface Blog (YUIBlog)</dc:creator>
		<pubDate>Mon, 09 Aug 2010 19:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-593204</guid>
		<description>[...] the number would be stored into variable result. Such a variable would be in the global scope, which is not a good idea. Even worse, although value would be retrievable once stored, we wouldn&#8217;t know when it [...]</description>
		<content:encoded><![CDATA[<p>[...] the number would be stored into variable result. Such a variable would be in the global scope, which is not a good idea. Even worse, although value would be retrievable once stored, we wouldn&#8217;t know when it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-593093</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sun, 01 Aug 2010 18:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-593093</guid>
		<description>Any idea if it is faster or slower? I might be a little inpatient, just wondering, thanks guys.</description>
		<content:encoded><![CDATA[<p>Any idea if it is faster or slower? I might be a little inpatient, just wondering, thanks guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-593044</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 29 Jul 2010 20:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-593044</guid>
		<description>The code sections are brilliantly elegant. Does the shortcut method actually make it faster or slower?</description>
		<content:encoded><![CDATA[<p>The code sections are brilliantly elegant. Does the shortcut method actually make it faster or slower?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scope issues with the callback to JQuery&#8217;s animate() function &#171; sometimes infinity is a loop</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-581752</link>
		<dc:creator>Scope issues with the callback to JQuery&#8217;s animate() function &#171; sometimes infinity is a loop</dc:creator>
		<pubDate>Mon, 08 Jun 2009 22:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-581752</guid>
		<description>[...] call functions that are within the global namespace, and I try to avoid anything global for all the well-documented reasons.  I thought about using call() to change the invocation context, but setTimeout.call(object) will [...]</description>
		<content:encoded><![CDATA[<p>[...] call functions that are within the global namespace, and I try to avoid anything global for all the well-documented reasons.  I thought about using call() to change the invocation context, but setTimeout.call(object) will [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dr. Prolix &#187; Blog Archive &#187; Enliven your namespaces</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-364802</link>
		<dc:creator>Dr. Prolix &#187; Blog Archive &#187; Enliven your namespaces</dc:creator>
		<pubDate>Thu, 01 May 2008 17:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-364802</guid>
		<description>[...] to use namespaces when writing your JavaScript. The reasons why have been stated time and again by much smarter and more eloquent people than myself, so suffice it to say, you should do [...]</description>
		<content:encoded><![CDATA[<p>[...] to use namespaces when writing your JavaScript. The reasons why have been stated time and again by much smarter and more eloquent people than myself, so suffice it to say, you should do [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vayn技术网摘 &#187; 窥探jQuery</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-302154</link>
		<dc:creator>Vayn技术网摘 &#187; 窥探jQuery</dc:creator>
		<pubDate>Mon, 11 Feb 2008 00:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-302154</guid>
		<description>[...] 编写可重用的、优秀的JavaScript代码，其关键在于对名称空间的积极把控。JavaScript只拥有单一的、全局的名称空间（即window对象），而很多程序员（以及一些库）恣意地为之添加各种东西。要知道全局变量是魔鬼！聪明的开发人员，会使用类似组件模式的技术，来尽力减少全局对象的数量。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 编写可重用的、优秀的JavaScript代码，其关键在于对名称空间的积极把控。JavaScript只拥有单一的、全局的名称空间（即window对象），而很多程序员（以及一些库）恣意地为之添加各种东西。要知道全局变量是魔鬼！聪明的开发人员，会使用类似组件模式的技术，来尽力减少全局对象的数量。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timothy</title>
		<link>http://www.yuiblog.com/blog/2006/06/01/global-domination/comment-page-1/#comment-294549</link>
		<dc:creator>timothy</dc:creator>
		<pubDate>Thu, 31 Jan 2008 23:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2006/06/01/global-domination/#comment-294549</guid>
		<description>&gt;&gt;OK, but if I document it, then anyone can see it’s intentional:

Comments are not durable. I&#039;ve known programmers who strip all comments upon opening a source file. The justification they give? &quot;Comments are always wrong.&quot; My translation of that is that code can be changed without changing the comments, so the comments don&#039;t necessarily apply to the code that you see.

Making the code clear enough that it doesn&#039;t need comments is the best way to go.</description>
		<content:encoded><![CDATA[<p>&gt;&gt;OK, but if I document it, then anyone can see it’s intentional:</p>
<p>Comments are not durable. I&#8217;ve known programmers who strip all comments upon opening a source file. The justification they give? &#8220;Comments are always wrong.&#8221; My translation of that is that code can be changed without changing the comments, so the comments don&#8217;t necessarily apply to the code that you see.</p>
<p>Making the code clear enough that it doesn&#8217;t need comments is the best way to go.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

