diff options
Diffstat (limited to 'Documentation/translations/zh_CN/process/4.Coding.rst')
-rw-r--r-- | Documentation/translations/zh_CN/process/4.Coding.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/translations/zh_CN/process/4.Coding.rst b/Documentation/translations/zh_CN/process/4.Coding.rst index 2b60752a81b2..5301e9d55255 100644 --- a/Documentation/translations/zh_CN/process/4.Coding.rst +++ b/Documentation/translations/zh_CN/process/4.Coding.rst @@ -22,9 +22,10 @@ ******** 内核长期以来都有一种标准的编码风格,如 -:ref:`Documentation/process/coding-style.rst <codingstyle>` 中所述。在大部分 -时间里,该文件中描述的政策被认为至多是建议性的。因此,内核中存在大量不符合编 -码风格准则的代码。代码的存在会给内核开发人员带来两个独立的危害。 +:ref:`Documentation/translations/zh_CN/process/coding-style.rst <cn_codingstyle>` +中所述。在大部分时间里,该文件中描述的政策被认为至多是建议性的。因此,内核 +中存在大量不符合编码风格准则的代码。代码的存在会给内核开发人员带来两个独立 +的危害。 首先,要相信内核编码标准并不重要,也不强制执行。事实上,如果没有按照标准对代 码进行编码,那么向内核添加新代码是非常困难的;许多开发人员甚至会在审查代码之 |