forked from kofyou/PairProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
**缩进** | ||
> 缩进采用Java官方推荐的4格缩进 | ||
**命名规则** | ||
* 包名全部小写 | ||
* 类名、接口名采用大驼峰命名方式 | ||
* 方法名、变量名用小驼峰命名方式,成员变量以小写m开头,静态变量以小写s开头 | ||
* 静态常量用全部大写,单词之间以下划线划开的方式 | ||
* 变量名避开Java关键字 | ||
|
||
**每行最多字符数** | ||
> 256 | ||
**函数最大行数** | ||
> 128 | ||
**空行规则** | ||
* 函数之间空1行 | ||
|
||
**注释规则** | ||
|
||
**操作符前后空格 | ||
> 操作符前后空1格 |