实参 [计] actual parameter
- 你需要在继续进行每一个程序的逻辑之前检查实参。
You need to check the arguments before proceeding with the logic of each method. - 当你将它向外界的客户公布时,你要检查实参并且如果实参无效,你要给出一个例外。
When you publish it to outside clients, you want to check the arguments and throw an exception if the arguments are invalid. - 另外,一个人们常碰到的相关问题,就是副作用,你调用一个函数它返回一个值,但是故意或者无意的,它可能会修改一个实参的值。
And again, a related problem that people run into is side-effects. You call a function and it returns a value, but maybe it, on purpose or on accident, modifies one of the actual parameters.
您正在访问的是
中国词汇量第二的英语词典
更多精彩,登录后发现......