[Applet] JAVA代码编写规范

[复制链接]
发表于 2022-10-4 16:13:01
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就业培训教程+源代码

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表