浏览 121 次
|
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
|---|---|
| 作者 | 正文 |
|
时间:2008-05-02 关键字: java script
首先,从金山词霸2005里我们可以得到如下的中文翻译:
evaluation : n.估价, 评价, 赋值 execution : n.实行, 完成, 执行, 死刑, 制作, (武器等的)破坏效果, 杀伤力 其次,在脚本编程里,两者最终都是进行执行的动作,区别在于: evaluation是“执行求值”,execution是“执行”。evaluation即是进行eval("xxx")之类的执行。 目前的想法是:在需要区别两者时,叫前者evaluation为“求值”,或者用全称“执行求值”。不需要进行区别时,两个都直接叫“执行”。 这两个在脚本里是比较重要的单词与概念,各位有何更好的译法,请反馈,谢谢。 最后附上一段原文: The BSF library makes a distinction between these two operations. When we expect that the script returns a result of its execution, this process is called evaluation. Otherwise, it is called execution. Some other libraries and classes that serve the same purpose as BSFEngine do not make this distinction between script evaluation and execution. In those libraries, if you are not interested in the result of the evaluation, you can just ignore it. As we see in the coming sections, the same principle can be used in BSF as well. 声明:JavaEye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
| 返回顶楼 | |



