Skip to content

Commit 7c8742b

Browse files
committed
Don't have journal comments
1 parent c697216 commit 7c8742b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README-zh-CN.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2273,11 +2273,14 @@ doStuff();
22732273
```
22742274
**[⬆ 返回顶部](#代码整洁的-javascript)**
22752275

2276-
### Don't have journal comments
2276+
### 不要有日志式的评论
22772277
Remember, use version control! There's no need for dead code, commented code,
22782278
and especially journal comments. Use `git log` to get history!
22792279

2280-
**Bad:**
2280+
记住, 使用版本控制! 不需要僵尸代码, 注释调的代码, 尤其是日志式的评论。 使用 `git log`
2281+
获取历史记录。
2282+
2283+
**不好的:**
22812284
```javascript
22822285
/**
22832286
* 2016-12-20: Removed monads, didn't understand them (RM)
@@ -2290,7 +2293,7 @@ function combine(a, b) {
22902293
}
22912294
```
22922295

2293-
**Good**:
2296+
**好的:**
22942297
```javascript
22952298
function combine(a, b) {
22962299
return a + b;

0 commit comments

Comments
 (0)