找回密码
 立即注册
names使用选用名称 | Applet 2022-10-04 66 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
1.??Java命名约好除了以下几个特例以外,命名时应一直选用完整的英文描述符。此外,通常应选用小写字母,但类名、接口名以及任何非初始单词的第一个字母要大写。1.1.??通常概念??尽量使用完整的英文描述符??选用适关于相关领域的术语??选用大小写混合使名称可读??尽量少用缩写,但如果用了,要明智地使用,且在全面工程中统一??预防使用长的名称??预防使用相似的名称,或许仅仅是大小写不一样的名称??预防使用下划线(除静态常量等)
代码编写标准.docx

(1.?? Except for the following special cases, Java names should always use complete English descriptors. In addition, you should always use lowercase letters, but capitalize the first letter of class names, interface names, and any non initial words. 1.1.?? General concept?? Try to use complete English descriptors?? Choose terms applicable to relevant fields?? Use mixed case to make the name readable?? Abbreviations shall be used as little as possible, but if they are used, they shall be used wisely and uniformly in the overall project?? Prevent using long names?? Prevent the use of similar names, perhaps just names with different case?? Prevent the use of underscores (except for static constants, etc.)
Code Writing Standard.docx)

[下载]16130223708.rar




上一篇:Java解析Xml的四种方法
下一篇:java就业培训教程+源代码