翻译优化建议。#380
Merged
leviding merged 3 commits intojavascript-tutorial:masterfrom Jun 27, 2019
LooJee:patch-1
Merged
Conversation
leviding
reviewed
Jun 27, 2019
| - 脑海中的术语和团队保持一致。如果站点的访客称为“用户”,则我们采用相关的变量命名,比如 `currentUser` 或者 `newUser`,而不要 `currentVisitor` 或者一个 `newManInTown`。 | ||
|
|
||
| 听上去很简单?确实如此,但是实践中创建一个简洁描述的名称并不并非如此。大胆试试吧。 | ||
| 听上去很简单?确实如此,但是实践中创建一个一目了然的变量并非如此。大胆试试吧。 |
Member
There was a problem hiding this comment.
创建一个一目了然的变量 or 变量名 更好一些?
创建变量名,不是很合适
创建变量,是很合适,但是创建一目了然的变量,其实表达的应该是变量名一目了然是不?
有没有更好的建议表达方式呢?
Contributor
Author
There was a problem hiding this comment.
但是实践中选择一个一目了然的变量名称并非如此。
这样翻译怎么样?
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
翻译优化建议。