Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
tp-qemu
提交
3c5de19c
T
tp-qemu
项目概览
openeuler
/
tp-qemu
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tp-qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3c5de19c
编写于
12月 10, 2015
作者:
W
Wei Jiangang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix typos in CODING_STYLE and README
s/describle/describe s/Readbility/Readability s/indepentently/independently
上级
ead37c8a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
3 addition
and
3 deletion
+3
-3
CODING_STYLE
CODING_STYLE
+2
-2
README.rst
README.rst
+1
-1
未找到文件。
CODING_STYLE
浏览文件 @
3c5de19c
...
@@ -94,7 +94,7 @@ Comments
...
@@ -94,7 +94,7 @@ Comments
Generally, you want your comments to tell WHAT your code does, not HOW.
Generally, you want your comments to tell WHAT your code does, not HOW.
We can figure out how from the code itself (or if not, your code needs fixing).
We can figure out how from the code itself (or if not, your code needs fixing).
Try to describ
l
e the intent of a function and what it does in a triple-quoted
Try to describe the intent of a function and what it does in a triple-quoted
(multiline) string just after the def line. We've tried to do that in most
(multiline) string just after the def line. We've tried to do that in most
places, though undoubtedly we're not perfect. A high level overview is
places, though undoubtedly we're not perfect. A high level overview is
incredibly helpful in understanding code.
incredibly helpful in understanding code.
...
@@ -156,7 +156,7 @@ Simple code
...
@@ -156,7 +156,7 @@ Simple code
Keep it simple; this is not the right place to show how smart you are. We
Keep it simple; this is not the right place to show how smart you are. We
have plenty of system failures to deal with without having to spend ages
have plenty of system failures to deal with without having to spend ages
figuring out your code, thanks ;-) Readbility, readability, readability.
figuring out your code, thanks ;-) Read
a
bility, readability, readability.
I really don't care if other things are more compact.
I really don't care if other things are more compact.
"Debugging is twice as hard as writing the code in the first place. Therefore,
"Debugging is twice as hard as writing the code in the first place. Therefore,
...
...
README.rst
浏览文件 @
3c5de19c
...
@@ -46,4 +46,4 @@ using virt test, and commit your changes.
...
@@ -46,4 +46,4 @@ using virt test, and commit your changes.
7) Push your changes and submit a pull request
7) Push your changes and submit a pull request
8) That's it.
8) That's it.
[1] You can always create your own test provider, if you have special purposes, or just want to develop your work indepen
t
ently.
[1] You can always create your own test provider, if you have special purposes, or just want to develop your work indepen
d
ently.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录