From cc923f2375bde3ccd0ce159cd1a80de1ba385008 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 20 Apr 2013 22:37:57 -0400 Subject: [PATCH] 04.3.md --- eBook/04.3.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eBook/04.3.md b/eBook/04.3.md index 01f4711..1f97239 100644 --- a/eBook/04.3.md +++ b/eBook/04.3.md @@ -61,8 +61,6 @@ c = iota ) -The first use of iota gives 0, whenever iota is used again on a new line, its value is incremented by 1; so a=0, b=1, c=2. This can be shortened to: - 第一个 `iota` 等于 0,每当 `iota` 在新的一行被使用时,它的值都会自动加 1;所以 `a=0, b=1, c=2` 可以简写为如下形式: const ( @@ -102,8 +100,6 @@ The first use of iota gives 0, whenever iota is used again on a new line, its va VIOLET // 6 ) -Remark: There is a convention to name constant identifiers with all uppercase letters, like: `const INCHTOwCM = 2.54`; this improves readability and can be used as long as it is not in conflict with the Visibility Rule of §4.2 - **注意事项** 作为约定,常量的标识符主要使用大写字母,标识符中各个部分的连接字符可用小写字母以便区分,如:`const INCHTOwCM = 2.54`;这样不仅增强了可读性,而且不会与第 4.2 节中描述的可见性规则冲突。 ##链接