更新编码规范。

+YUCHENG HU+

git-svn-id: https://svn.code.sf.net/p/hawebs/svn@503 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
This commit is contained in:
YuCheng Hu
2010-07-15 01:07:07 +00:00
parent 67cbd5fe00
commit f167b51caf
4 changed files with 11 additions and 3 deletions
@@ -1,4 +1,4 @@
#Wed Jul 14 20:34:40 EDT 2010 #Wed Jul 14 21:06:16 EDT 2010
copytosourcelist= copytosourcelist=
hreftargetslist=tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita hreftargetslist=tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita
fullditatopicfile=fullditatopic.list fullditatopicfile=fullditatopic.list
@@ -6,7 +6,7 @@ fullditamapandtopicfile=fullditamapandtopic.list
fullditatopiclist=tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita fullditatopiclist=tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita
fullditamapandtopiclist=tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita,code_conventions.ditamap fullditamapandtopiclist=tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita,code_conventions.ditamap
hrefditatopicfile=hrefditatopic.list hrefditatopicfile=hrefditatopic.list
hrefditatopiclist=tasks/info/hacopyright.dita hrefditatopiclist=tasks/info/hacopyright.dita,tasks/chapter1/chapter1.dita
user.input.file=code_conventions.ditamap user.input.file=code_conventions.ditamap
subtargetsfile=subtargets.list subtargetsfile=subtargets.list
fullditamapfile=fullditamap.list fullditamapfile=fullditamap.list
@@ -9,7 +9,7 @@
<entry key="fullditatopiclist">tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita</entry> <entry key="fullditatopiclist">tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita</entry>
<entry key="fullditamapandtopiclist">tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita,code_conventions.ditamap</entry> <entry key="fullditamapandtopiclist">tasks/info/hacopyright.dita,tasks/info/apachelicense.dita,tasks/chapter1/chapter1.dita,code_conventions.ditamap</entry>
<entry key="hrefditatopicfile">hrefditatopic.list</entry> <entry key="hrefditatopicfile">hrefditatopic.list</entry>
<entry key="hrefditatopiclist">tasks/info/hacopyright.dita</entry> <entry key="hrefditatopiclist">tasks/info/hacopyright.dita,tasks/chapter1/chapter1.dita</entry>
<entry key="user.input.file">code_conventions.ditamap</entry> <entry key="user.input.file">code_conventions.ditamap</entry>
<entry key="subtargetsfile">subtargets.list</entry> <entry key="subtargetsfile">subtargets.list</entry>
<entry key="fullditamapfile">fullditamap.list</entry> <entry key="fullditamapfile">fullditamap.list</entry>
@@ -43,6 +43,11 @@
<p>一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的 <p>一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的
</p> </p>
<p>程序版式是一个容易引起争议的话题,其实有一点很重要,那就是程序版式并无绝对的好坏之分,最重要的是要有统一的标准。开发过程比较完善的组织会有一份代码规范,其目的就是统一代码的风格。因此此规范仅供大家参考,大多数内容都是建议,而不是规则.。
</p>
<p>Java 在这方面有很大优势,Sun MicroSystem在发布Java的同时,也推出了一份代码规范。其中大部分已被广泛接受,成为事实上的标准。可以参考Sun 的Java站点:<a href="http://java.sun.com/docs/codeconv/index.html" target="_blank">http://java.sun.com/docs/codeconv/index.html</a></p>
</div> </div>
@@ -51,5 +51,8 @@
</p> </p>
<p>一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的 <p>一些习惯自由程序人员可能对这些规则很不适应,但是在多个开发人员共同写作的情况下,这些规则是必需的
。</p> 。</p>
<p>程序版式是一个容易引起争议的话题,其实有一点很重要,那就是程序版式并无绝对的好坏之分,最重要的是要有统一的标准。开发过程比较完善的组织会有一份代码规范,其目的就是统一代码的风格。因此此规范仅供大家参考,大多数内容都是建议,而不是规则.。
</p>
<p>Java 在这方面有很大优势,Sun MicroSystem在发布Java的同时,也推出了一份代码规范。其中大部分已被广泛接受,成为事实上的标准。可以参考Sun 的Java站点:<xref format="html" scope="external" href="http://java.sun.com/docs/codeconv/index.html"/></p>
</conbody> </conbody>
</concept> </concept>