Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2 部分关键字建议 #4

Merged
merged 1 commit into from
Oct 21, 2017
Merged

Conversation

nobodxbodon
Copy link
Member

false/true的原因是:
相比
变量 我是歌手 = 为假
感觉还是
变量 我是歌手 = 假
更合适
暂时没想到两字的用词.

@@ -278,7 +278,7 @@ namespace ts {
"变量": SyntaxKind.VarKeyword,
"无值": SyntaxKind.VoidKeyword,

"判断": SyntaxKind.WhileKeyword,
"只要": SyntaxKind.WhileKeyword,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

刚想到'每当', 不过好像还是'只要'更好
比如:

每当 (!遇到障碍) {
  前进();
}

还是

只要 (!遇到障碍) {
  前进();
}

更合适

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

只要还很顺的

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我的意思也是只要很顺是最好的
比贴近愿意还重要
我选2个字的原因
1\ 应该有合适的关键字能选
2\ 中文输入的时候词语更准确
3\2个字读起来更顺
4\ 格式化后程序更好看点

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

多谢接纳.
嗯, 确实感觉2字比较合适.
格式化后程序更好看点暂时还没什么体会, 也许在写笔记的例程的时候会慢慢有感觉.
随着进一步学习, 可能会对其他一些TS特有(JS没有)的关键词再推敲一下.

@htwx htwx merged commit 901c4c0 into program-in-chinese:master Oct 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants