Kotlin 1.2 Language DocumentationWhen using an acronym as part of a declaration name, capitalize it if it consists of two letters ( IOStream ); capitalize only the first letter if it is longer ( XmlFormatter , HttpInputStream ). In most0 码力 | 333 页 | 2.22 MB | 1 年前3
Kotlin Language Documentation 1.3When using an acronym as part of a declaration name, capitalize it if it consists of two letters ( IOStream ); capitalize only the �rst letter if it is longer ( XmlFormatter , HttpInputStream ). Use 4 spaces0 码力 | 597 页 | 3.61 MB | 1 年前3
Kotlin Language Documentation 1.9.20When using an acronym as part of a declaration name, capitalize it if it consists of two letters ( IOStream); capitalize only the first letter if it is longer (XmlFormatter, HttpInputStream). Formatting0 码力 | 1299 页 | 32.44 MB | 1 年前3
Kotlin 1.9.10 官方文档 中文版
名称应该表明实体的目的是什么,所以最好避免在名称中使用无意义的单词 ( Manager 、 Wrapper )。 当使用首字母缩写作为名称的一部分时,如果缩写由两个字母组成,就将其大 写( IOStream ); 而如果缩写更长一些,就只大写其首字母 ( XmlFormatter 、 HttpInputStream )。 格式化 缩进 使用 4 个空格缩进。不要使用 tab。 对于0 码力 | 3753 页 | 29.69 MB | 1 年前3
Kotlin 官方文档中文版 v1.9名称应该表明实体的目的是什么,所以最好避免在名称中使用无意义的单词 ( Manager 、 Wrapper )。 编码规范 408 当使用首字母缩写作为名称的一部分时,如果缩写由两个字母组成,就将其大写 ( IOStream ); 而如果缩写更长一些,就只大写其首字母( XmlFormatter 、 HttpInputStream )。 格式化 缩进 使用 4 个空格缩进。不要使用 tab。 对于花0 码力 | 2049 页 | 45.06 MB | 1 年前3
共 5 条
- 1













