Skip to content

Commit

Permalink
Merge pull request #3 from sujieyang/main
Browse files Browse the repository at this point in the history
归并-team6
  • Loading branch information
1219007597 authored Mar 28, 2021
2 parents 57616e4 + 84cffc4 commit 08df959
Show file tree
Hide file tree
Showing 121 changed files with 35,035 additions and 1 deletion.
43 changes: 43 additions & 0 deletions Java代码规范.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## 代码规范(Java)

- 缩进

缩进使用4个空格(Tab)

- 变量命名

变量名采用lowerCamelCase风格,使用驼峰命名法,变量名只包含字母和数字,首个单词首字母大写,后面单词首字母小写,有数字的话在最后。使用有意义的名字作为变量名方便阅读代码(作用域很小的临时变量使用 i、j、k....等命名方式),命名使用英文单词不使用拼音

- 每行最多字符数

一行最多只有一个语句,一行最多不超过100个字符

- 函数最大行数

单个函数最多包含50行代码

- 函数、类命名

函数命名采用lowerCamelCase风格,使用驼峰命名法,首个单词首字母大写,后面单词首字母小写,取有函数的功能作为函数名;类名采用UpperCamelCase风格,使用驼峰命名法,首字母大写,类名包含具体含义,可以指明一类事物。

- 常量

常量命名全部使用大写,单词之间使用‘ _ ’分隔

- 空行规则

不同的功能模块之间会留有空行,如函数之间,或函数内部不同部分之间会空行便于阅读。

- 注释规则

单行注释用//,短的注释直接跟在语句后面,长的注释另起一行

多行注释使用/**/

- 操作符前后空格

操作符前后均留有一个空格

- 其他规则

...
1 change: 0 additions & 1 deletion Vue_ 前端/README.md

This file was deleted.

3 changes: 3 additions & 0 deletions Vue_ 前端/metting/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
23 changes: 23 additions & 0 deletions Vue_ 前端/metting/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.DS_Store
node_modules
/dist


# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
19 changes: 19 additions & 0 deletions Vue_ 前端/metting/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# metting

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
5 changes: 5 additions & 0 deletions Vue_ 前端/metting/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
Loading

0 comments on commit 08df959

Please sign in to comment.