yar999
Go语言圣经

Updated 2 years ago

smallfat (@smallfat) started discussion #27

a year ago · 0 comments

Open

每一次函数调用都必须按照声明顺序为所有参数提供实参(参数值)。在函数调用时,Go语言没有默认参数值,也没有任何方法可以通过参数名指定形参,因此形参和返回值的变量名对于函数调用者而言没有意义。

函数声明 (Edit this file)

no default parameter compared with C/java

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant