外部链接:    leo英德   dict有道 百度搜索百度 google谷歌 google图片 wiki维基 百度百科百科   

 实参 添加此单词到默认生词本
[计] actual parameter

  1. 你需要在继续进行每一个程序的逻辑之前检查实参
    You need to check the arguments before proceeding with the logic of each method.
  2. 当你将它向外界的客户公布时,你要检查实参并且如果实参无效,你要给出一个例外。
    When you publish it to outside clients, you want to check the arguments and throw an exception if the arguments are invalid.
  3. 另外,一个人们常碰到的相关问题,就是副作用,你调用一个函数它返回一个值,但是故意或者无意的,它可能会修改一个实参的值。
    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.



加入收藏 本地收藏 百度搜藏 QQ书签 美味书签 Google书签 Mister Wong
您正在访问的是
中国词汇量第二的英语词典
更多精彩,登录后发现......
验证码看不清,请点击刷新
  注册