<?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: google.com 首页代码分析</title>
	<atom:link href="http://lifesinger.org/blog/2009/06/google-com-src-study/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifesinger.org/blog/2009/06/google-com-src-study/</link>
	<description>关注用户体验、前端开发，记录生活点滴、岁月足迹。</description>
	<lastBuildDate>Thu, 11 Mar 2010 03:13:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tmdui</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-3274</link>
		<dc:creator>tmdui</dc:creator>
		<pubDate>Fri, 06 Nov 2009 04:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-3274</guid>
		<description>cl said: 

July 8th, 2009 on 18:21 
引用原文：1.遍历数组
for (var i = 0,c; c = [&quot;ad&quot;,&quot;p&quot;,&quot;pa&quot;,&quot;zd&quot;,&quot;ac&quot;,&quot;pc&quot;,&quot;pah&quot;,&quot;ph&quot;,&quot;zc&quot;][i++];) {
// doing something, such as console.log(c)
}

这个可以精简得更少代码实现：
for(i in c=[&quot;ad&quot;,&quot;p&quot;,&quot;pa&quot;,&quot;zd&quot;,&quot;ac&quot;,&quot;pc&quot;,&quot;pah&quot;,&quot;ph&quot;,&quot;zc&quot;]){alert(c[i]);}

for in 的效率要低很多</description>
		<content:encoded><![CDATA[<p>cl said: </p>
<p>July 8th, 2009 on 18:21<br />
引用原文：1.遍历数组<br />
for (var i = 0,c; c = ["ad","p","pa","zd","ac","pc","pah","ph","zc"][i++];) {<br />
// doing something, such as console.log(c)<br />
}</p>
<p>这个可以精简得更少代码实现：<br />
for(i in c=["ad","p","pa","zd","ac","pc","pah","ph","zc"]){alert(c[i]);}</p>
<p>for in 的效率要低很多</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: linkto</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-2373</link>
		<dc:creator>linkto</dc:creator>
		<pubDate>Tue, 01 Sep 2009 08:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-2373</guid>
		<description>感觉有点像商人，只要能提高性能啥都能丢。</description>
		<content:encoded><![CDATA[<p>感觉有点像商人，只要能提高性能啥都能丢。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cl</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-1402</link>
		<dc:creator>cl</dc:creator>
		<pubDate>Wed, 08 Jul 2009 10:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-1402</guid>
		<description>
引用原文：1.遍历数组
for (var i = 0,c; c = [&quot;ad&quot;,&quot;p&quot;,&quot;pa&quot;,&quot;zd&quot;,&quot;ac&quot;,&quot;pc&quot;,&quot;pah&quot;,&quot;ph&quot;,&quot;zc&quot;][i++];) {
// doing something, such as console.log(c)
}

这个可以精简得更少代码实现：
for(i in c=[&quot;ad&quot;,&quot;p&quot;,&quot;pa&quot;,&quot;zd&quot;,&quot;ac&quot;,&quot;pc&quot;,&quot;pah&quot;,&quot;ph&quot;,&quot;zc&quot;]){alert(c[i]);}

</description>
		<content:encoded><![CDATA[<p>引用原文：1.遍历数组<br />
for (var i = 0,c; c = ["ad","p","pa","zd","ac","pc","pah","ph","zc"][i++];) {<br />
// doing something, such as console.log(c)<br />
}</p>
<p>这个可以精简得更少代码实现：<br />
for(i in c=["ad","p","pa","zd","ac","pc","pah","ph","zc"]){alert(c[i]);}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 天堂左我往右</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-1374</link>
		<dc:creator>天堂左我往右</dc:creator>
		<pubDate>Sun, 05 Jul 2009 09:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-1374</guid>
		<description>google真是YD无比啊...
很久以前就看那些代码很佩服,没想到还有人耐心的研究了一下下</description>
		<content:encoded><![CDATA[<p>google真是YD无比啊&#8230;<br />
很久以前就看那些代码很佩服,没想到还有人耐心的研究了一下下</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lerluc</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-1338</link>
		<dc:creator>lerluc</dc:creator>
		<pubDate>Fri, 03 Jul 2009 04:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-1338</guid>
		<description>好文!

是为了开启firefox3.5的html支持吧? 有发现html5代码的踪影吗?</description>
		<content:encoded><![CDATA[<p>好文!</p>
<p>是为了开启firefox3.5的html支持吧? 有发现html5代码的踪影吗?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-1262</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 28 Jun 2009 00:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-1262</guid>
		<description>@周裕波：考虑到SEO等，阿里肯定不敢全盘照搬google的做法，但借鉴可适用的地方还是可以的

W3C标准我是很看重的，我不看重的是通过W3C校验。现在不少前端，有为了通过校验而标准的做法，个人很鄙夷

检验手误等错误有各种方法，去W3C校验是最慢最耗时的一种</description>
		<content:encoded><![CDATA[<p>@周裕波：考虑到SEO等，阿里肯定不敢全盘照搬google的做法，但借鉴可适用的地方还是可以的</p>
<p>W3C标准我是很看重的，我不看重的是通过W3C校验。现在不少前端，有为了通过校验而标准的做法，个人很鄙夷</p>
<p>检验手误等错误有各种方法，去W3C校验是最慢最耗时的一种</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 周裕波</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-1256</link>
		<dc:creator>周裕波</dc:creator>
		<pubDate>Sat, 27 Jun 2009 18:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-1256</guid>
		<description>对浏览器来说，doctype 实际上仅影响浏览模式，因此能从简就从简。W3C 校验，我觉得没必要，很少关注。

我又说错了

不过检验是有必要的，目的不是为了通过标准！检验可以为我们检测有时候因为手误等原因造成的错误！</description>
		<content:encoded><![CDATA[<p>对浏览器来说，doctype 实际上仅影响浏览模式，因此能从简就从简。W3C 校验，我觉得没必要，很少关注。</p>
<p>我又说错了</p>
<p>不过检验是有必要的，目的不是为了通过标准！检验可以为我们检测有时候因为手误等原因造成的错误！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 周裕波</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-1255</link>
		<dc:creator>周裕波</dc:creator>
		<pubDate>Sat, 27 Jun 2009 18:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-1255</guid>
		<description>标准的出现必然有标准的道理！听你在文中所说的话，好像根本不把标准放在眼里！</description>
		<content:encoded><![CDATA[<p>标准的出现必然有标准的道理！听你在文中所说的话，好像根本不把标准放在眼里！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 周裕波</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-1254</link>
		<dc:creator>周裕波</dc:creator>
		<pubDate>Sat, 27 Jun 2009 18:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-1254</guid>
		<description>谷歌可以这样做，你淘宝敢这样做吗？你整个阿里敢这样做吗？</description>
		<content:encoded><![CDATA[<p>谷歌可以这样做，你淘宝敢这样做吗？你整个阿里敢这样做吗？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: will</title>
		<link>http://lifesinger.org/blog/2009/06/google-com-src-study/comment-page-1/#comment-1168</link>
		<dc:creator>will</dc:creator>
		<pubDate>Sat, 20 Jun 2009 18:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=1834#comment-1168</guid>
		<description>很早以前的时候看yahoo的也是通过js来判断不同的浏览器显示不同的版本，一直兼容到ie4</description>
		<content:encoded><![CDATA[<p>很早以前的时候看yahoo的也是通过js来判断不同的浏览器显示不同的版本，一直兼容到ie4</p>
]]></content:encoded>
	</item>
</channel>
</rss>
