<?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>评论：[PBP]代码布局(2)</title>
	<atom:link href="http://tech.idv2.com/2008/03/08/pbp-code-layout-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.idv2.com/2008/03/08/pbp-code-layout-2/</link>
	<description>关注Web开发技术，关注Internet。</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:30:30 +0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：charlee</title>
		<link>http://tech.idv2.com/2008/03/08/pbp-code-layout-2/comment-page-1/#comment-9581</link>
		<dc:creator>charlee</dc:creator>
		<pubDate>Sat, 19 Apr 2008 13:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://tech.idv2.com/2008/03/08/pbp-code-style-2/#comment-9581</guid>
		<description>@weakish 的确。php中也是这样。

我通常喜欢在vi中用 Shift-V 然后 !sort 对列表进行排序，最后一行加上逗号就会很方便。

不过要注意的是，在IE中用Javascript定义数组时，最后一个元素后面不能加逗号，否则就会莫名其妙地出错了。</description>
		<content:encoded><![CDATA[<p>@weakish 的确。php中也是这样。</p>
<p>我通常喜欢在vi中用 Shift-V 然后 !sort 对列表进行排序，最后一行加上逗号就会很方便。</p>
<p>不过要注意的是，在IE中用Javascript定义数组时，最后一个元素后面不能加逗号，否则就会莫名其妙地出错了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：weakish</title>
		<link>http://tech.idv2.com/2008/03/08/pbp-code-layout-2/comment-page-1/#comment-9577</link>
		<dc:creator>weakish</dc:creator>
		<pubDate>Sat, 19 Apr 2008 11:33:11 +0000</pubDate>
		<guid isPermaLink="false">http://tech.idv2.com/2008/03/08/pbp-code-style-2/#comment-9577</guid>
		<description>嗯。这个风格是跨语言的。

CSS中也是这样：

selector {
  field:value1;
  field:value2
 }

是合法的，但一般还是写成

selector {
  field:value1;
  field:value2;
 }

比较好。</description>
		<content:encoded><![CDATA[<p>嗯。这个风格是跨语言的。</p>
<p>CSS中也是这样：</p>
<p>selector {<br />
  field:value1;<br />
  field:value2<br />
 }</p>
<p>是合法的，但一般还是写成</p>
<p>selector {<br />
  field:value1;<br />
  field:value2;<br />
 }</p>
<p>比较好。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
