<?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>《编程命名中的7+1个提示》的评论</title>
	<atom:link href="http://coolshell.cn/articles/1038.html/feed" rel="self" type="application/rss+xml" />
	<link>http://coolshell.cn/articles/1038.html</link>
	<description>享受编程和技术所带来的快乐 - http://coolshell.cn</description>
	<lastBuildDate>Mon, 21 May 2012 17:16:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>作者：球球</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-71524</link>
		<dc:creator>球球</dc:creator>
		<pubDate>Mon, 08 Aug 2011 02:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-71524</guid>
		<description>受教了！~</description>
		<content:encoded><![CDATA[<p>受教了！~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：IKARi</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-34715</link>
		<dc:creator>IKARi</dc:creator>
		<pubDate>Mon, 07 Mar 2011 08:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-34715</guid>
		<description>&lt;a href=&quot;#comment-2836&quot; rel=&quot;nofollow&quot;&gt;@wade &lt;/a&gt; 

就我的了解，這個回覆才是對的，本文反而用了Joel不建議的方式，可能需要修正一下 :)
可以參考中文版：
The Joel on Software Translation Project:讓錯的程式看得出錯 - The Joel on Software Translation Project
http://local.joelonsoftware.com/wiki/The_Joel_on_Software_Translation_Project:%E8%AE%93%E9%8C%AF%E7%9A%84%E7%A8%8B%E5%BC%8F%E7%9C%8B%E5%BE%97%E5%87%BA%E9%8C%AF</description>
		<content:encoded><![CDATA[<p><a href="#comment-2836" rel="nofollow">@wade </a> </p>
<p>就我的了解，這個回覆才是對的，本文反而用了Joel不建議的方式，可能需要修正一下 :)<br />
可以參考中文版：<br />
The Joel on Software Translation Project:讓錯的程式看得出錯 &#8211; The Joel on Software Translation Project<br />
<a href="http://local.joelonsoftware.com/wiki/The_Joel_on_Software_Translation_Project:%E8%AE%93%E9%8C%AF%E7%9A%84%E7%A8%8B%E5%BC%8F%E7%9C%8B%E5%BE%97%E5%87%BA%E9%8C%AF" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/local.joelonsoftware.com/wiki/The_Joel_on_Software_Translation_Project_E8_AE_93_E9_8C_AF_E7_9A_84_E7_A8_8B_E5_BC_8F_E7_9C_8B_E5_BE_97_E5_87_BA_E9_8C_AF?referer=');">http://local.joelonsoftware.com/wiki/The_Joel_on_Software_Translation_Project:%E8%AE%93%E9%8C%AF%E7%9A%84%E7%A8%8B%E5%BC%8F%E7%9C%8B%E5%BE%97%E5%87%BA%E9%8C%AF</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：五个免费开源的数据挖掘软件 &#124; 中文IT博客聚合</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-21359</link>
		<dc:creator>五个免费开源的数据挖掘软件 &#124; 中文IT博客聚合</dc:creator>
		<pubDate>Mon, 03 Jan 2011 00:06:03 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-21359</guid>
		<description>[...] 2009年06月15日 &#8212; 编程命名中的7+1个提示 [...]</description>
		<content:encoded><![CDATA[<p>[...] 2009年06月15日 &#8212; 编程命名中的7+1个提示 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：编程命名中的7+1个提示 &#124; 达卡人学习中心</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-9592</link>
		<dc:creator>编程命名中的7+1个提示 &#124; 达卡人学习中心</dc:creator>
		<pubDate>Tue, 31 Aug 2010 09:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-9592</guid>
		<description>[...] http://coolshell.cn/articles/1038.html   Trackback URL &#124; Say something... [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://coolshell.cn/articles/1038.html" rel="nofollow">http://coolshell.cn/articles/1038.html</a>   Trackback URL | Say something&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：程序命名的一些提示&#160;&#124;&#160;学习.记录</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-5450</link>
		<dc:creator>程序命名的一些提示&#160;&#124;&#160;学习.记录</dc:creator>
		<pubDate>Sat, 13 Mar 2010 17:34:20 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-5450</guid>
		<description>[...] 选择一个正确的名字是编程中最重要的事。以前酷壳向大家推荐过两篇文章《编程命名中的7+1个提示》 和《编程中的命名设计那点事》，今天再向大家推荐一篇。一个正确的命名可以让你更容易地理解代码的程序，好的命名可以消除二义性，消除误解，并且说明真实的意图，甚至可以让你有清新的气息以让你更能吸引异性。;-) [...]</description>
		<content:encoded><![CDATA[<p>[...] 选择一个正确的名字是编程中最重要的事。以前酷壳向大家推荐过两篇文章《编程命名中的7+1个提示》 和《编程中的命名设计那点事》，今天再向大家推荐一篇。一个正确的命名可以让你更容易地理解代码的程序，好的命名可以消除二义性，消除误解，并且说明真实的意图，甚至可以让你有清新的气息以让你更能吸引异性。;-) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：程序命名的一些提示 &#124; 米号</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-2857</link>
		<dc:creator>程序命名的一些提示 &#124; 米号</dc:creator>
		<pubDate>Thu, 07 Jan 2010 03:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-2857</guid>
		<description>[...] 选择一个正确的名字是编程中最重要的事。以前酷壳向大家推荐过两篇文章《编程命名中的7+1个提示》 和《编程中的命名设计那点事》，今天再向大家推荐一篇。一个正确的命名可以让你更容易地理解代码的程序，好的命名可以消除二义性，消除误解，并且说明真实的意图，甚至可以让你有清新的气息以让你更能吸引异性。;-) [...]</description>
		<content:encoded><![CDATA[<p>[...] 选择一个正确的名字是编程中最重要的事。以前酷壳向大家推荐过两篇文章《编程命名中的7+1个提示》 和《编程中的命名设计那点事》，今天再向大家推荐一篇。一个正确的命名可以让你更容易地理解代码的程序，好的命名可以消除二义性，消除误解，并且说明真实的意图，甚至可以让你有清新的气息以让你更能吸引异性。;-) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：wade</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-2836</link>
		<dc:creator>wade</dc:creator>
		<pubDate>Wed, 06 Jan 2010 05:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-2836</guid>
		<description>匈牙利法分“应用型匈牙利法”和“系统型匈牙利法”，附录2的其实是“系统型匈牙利法”。Joel Spolsky谈到其实“应用型匈牙利法”是很好的命名方法。两种匈牙利法的区别是对前缀的理解。最初的匈牙利法提出加前缀来表示变量的kind，而不是type。“系统型匈牙利法”实际上是给变量加一个表示type的前缀。比如“应用型匈牙利法”命名一个变量为sName（safe name）。
具体可以看Joel Spolsky的“软件随想录”。</description>
		<content:encoded><![CDATA[<p>匈牙利法分“应用型匈牙利法”和“系统型匈牙利法”，附录2的其实是“系统型匈牙利法”。Joel Spolsky谈到其实“应用型匈牙利法”是很好的命名方法。两种匈牙利法的区别是对前缀的理解。最初的匈牙利法提出加前缀来表示变量的kind，而不是type。“系统型匈牙利法”实际上是给变量加一个表示type的前缀。比如“应用型匈牙利法”命名一个变量为sName（safe name）。<br />
具体可以看Joel Spolsky的“软件随想录”。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：程序命名的一些提示 &#124; 酷壳 - CoolShell.cn</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-2826</link>
		<dc:creator>程序命名的一些提示 &#124; 酷壳 - CoolShell.cn</dc:creator>
		<pubDate>Wed, 06 Jan 2010 00:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-2826</guid>
		<description>[...] 选择一个正确的名字是编程中最重要的事。以前酷壳向大家推荐过两篇文章《编程命名中的7+1个提示》 和《编程中的命名设计那点事》，今天再向大家推荐一篇。一个正错的命名可以让你更容易地理解代码的程序，好的命名可以消除二义性，消除误解，并且说明真实的意图，甚至可以让你有清新的气息以让你更能吸引异性。;-) [...]</description>
		<content:encoded><![CDATA[<p>[...] 选择一个正确的名字是编程中最重要的事。以前酷壳向大家推荐过两篇文章《编程命名中的7+1个提示》 和《编程中的命名设计那点事》，今天再向大家推荐一篇。一个正错的命名可以让你更容易地理解代码的程序，好的命名可以消除二义性，消除误解，并且说明真实的意图，甚至可以让你有清新的气息以让你更能吸引异性。;-) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：hwdh1987</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-357</link>
		<dc:creator>hwdh1987</dc:creator>
		<pubDate>Tue, 14 Jul 2009 00:20:39 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-357</guid>
		<description>O(∩_∩)O~，受教</description>
		<content:encoded><![CDATA[<p>O(∩_∩)O~，受教</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：1</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-327</link>
		<dc:creator>1</dc:creator>
		<pubDate>Mon, 06 Jul 2009 07:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-327</guid>
		<description>有好的方法介绍下么？我们现在还是以匈牙利为主，C语言开发</description>
		<content:encoded><![CDATA[<p>有好的方法介绍下么？我们现在还是以匈牙利为主，C语言开发</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：整洁代码的4个提示 &#124; 酷壳</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-321</link>
		<dc:creator>整洁代码的4个提示 &#124; 酷壳</dc:creator>
		<pubDate>Sun, 05 Jul 2009 14:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-321</guid>
		<description>[...] 无论是变量名还是方法名，都不能太长或是太短。一个好的命名，应该是“自解释的”，直观的，望文知意的。通常来说，一个好的命名应该是知道这个变量/方法要干什么事情，比如GetComputerName()，isAdmin等等，对于变量名来说，通过其名字，我们可以知道这个变量的类型（整型，浮点，指针，……），种类（全局，成员，局部，静态，……）。关于命名的事情，可以查看《编程命名中的7+1个提示》和《编程中的命名设计那点事》查看更多的内容。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 无论是变量名还是方法名，都不能太长或是太短。一个好的命名，应该是“自解释的”，直观的，望文知意的。通常来说，一个好的命名应该是知道这个变量/方法要干什么事情，比如GetComputerName()，isAdmin等等，对于变量名来说，通过其名字，我们可以知道这个变量的类型（整型，浮点，指针，……），种类（全局，成员，局部，静态，……）。关于命名的事情，可以查看《编程命名中的7+1个提示》和《编程中的命名设计那点事》查看更多的内容。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：楼船夜雪</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-238</link>
		<dc:creator>楼船夜雪</dc:creator>
		<pubDate>Wed, 17 Jun 2009 02:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-238</guid>
		<description>一楼说的有道理，匈牙利已经过时了。</description>
		<content:encoded><![CDATA[<p>一楼说的有道理，匈牙利已经过时了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：耗子</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-237</link>
		<dc:creator>耗子</dc:creator>
		<pubDate>Wed, 17 Jun 2009 00:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-237</guid>
		<description>的确是弄反了。谢谢指正以及对酷壳的支持。</description>
		<content:encoded><![CDATA[<p>的确是弄反了。谢谢指正以及对酷壳的支持。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：myway</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-235</link>
		<dc:creator>myway</dc:creator>
		<pubDate>Tue, 16 Jun 2009 16:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-235</guid>
		<description>* 好的变量：howLonDoesItTakeToOpenTheDoor， howBigIsTheMaterial…
    * 坏的变量：timeToOpenTheDoor， MaterialSize.
不会是弄反了吧？</description>
		<content:encoded><![CDATA[<p>* 好的变量：howLonDoesItTakeToOpenTheDoor， howBigIsTheMaterial…<br />
    * 坏的变量：timeToOpenTheDoor， MaterialSize.<br />
不会是弄反了吧？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：zhangyafei</title>
		<link>http://coolshell.cn/articles/1038.html/comment-page-1#comment-233</link>
		<dc:creator>zhangyafei</dc:creator>
		<pubDate>Mon, 15 Jun 2009 15:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://coolshell.cn/?p=1038#comment-233</guid>
		<description>匈牙利太落后了</description>
		<content:encoded><![CDATA[<p>匈牙利太落后了</p>
]]></content:encoded>
	</item>
</channel>
</rss>

