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

形参(parameter)与实参(argument)的中文翻译不当 #1175

Open
rshinich opened this issue Aug 16, 2023 · 3 comments
Open

形参(parameter)与实参(argument)的中文翻译不当 #1175

rshinich opened this issue Aug 16, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@rshinich
Copy link

rshinich commented Aug 16, 2023

在「函数」一章中的「参数」小节中:

image

在中文翻译下,形参(parameter)与实参(argument)统一被翻译成了“参数”,可能会引起误解。
包括后边的介绍部分:

我们声明函数时列出它们的参数(parameters),然后调用它们传递参数(arguments)。
在上面的例子中,我们可以说:“函数 showMessage 被声明,并且带有两个参数(parameters),随后它被调用,两个参数(arguments)分别为 from 和 "Hello"”。

@leviding leviding added the help wanted Extra attention is needed label Oct 14, 2023
@zjnbxap
Copy link

zjnbxap commented Dec 27, 2023

还有此章的返回值小节中代码有点问题
1
应修改为
2
否则当输入小于18岁时程序运转有误.

@xuesongde
Copy link

xuesongde commented Dec 27, 2023 via email

@Jesse205
Copy link

Jesse205 commented Jun 6, 2024

还有此章的返回值小节中代码有点问题 1 应修改为 2 否则当输入小于18岁时程序运转有误.

不应该这样改。实际上checkAge的作用是检查权限。未成年人的情况下,如果获得了监护人的允许,就也拥有了权限

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants