匿名变量用英语怎么说,匿名变量的英文翻译


词语导航

基本信息

词语:匿名变量

繁体:匿名變量

拼音:nì míng biàn liáng

英语翻译

【计】 anonymous variable

分词翻译

匿名的英语翻译:

anonymity; cryptonym; pseudonym
【法】 anonymity

变量的英语翻译:

variable
【计】 V; variable
【化】 variable
【医】 variance

翻译例句

1. 匿名函数通常通过分配到一个代理变量,来在其他函数的上下文中定义。

An anonymous function is defined within the context of another function, usually by assigning it to a delegate variable.

2. 当一个闭包“捕获”一个变量时,它就会将这个变量提取出它的本地范围,移到一个匿名对象里。

When a closure "captures" a variable it "lifts" the variable out of its local scope and effectively moves it into an anonymous object.

3. 类型推断—使用匿名类型时,关键字var必不可少。它还能减少你其他变量声明中的冗余。

Type Inference - the var keyword, which is necessary when using anonymous types, can also reduce redundancy in your other variable declarations.www.wEntiyI.COm

4. 就是说,closure是个匿名函数,在其创建时,将来自创建该函数的代码范围内得变量值附加到它本身。

That is, a closure is an anonymous function that, when created, attaches to itself the value of variables from the scope of the code that created the function.

5. lambda函数(或者通常所谓的“匿名函数”)是可以随时定义的简单抛弃型函数,并且通常都与变量绑定。

Lambda functions (or "anonymous functions," as they are often referred to) are simply throwaway functions that can be defined at any time and are typically bound to a variable.

6. Groovy则消除了这种限制,在Groovy中,匿名内部类可以修改外部的变量值。

This restriction is lifted in Groovy; you can change the values of variables in a containing scope from within an anonymous inner class.

7. 最终,为了避免破坏代码的可读性ThoughtWorks的工程通常避免使用编程语言特有的语法(例如Ruby语言中匿名全局变量)。

To this end, ThoughtWorks projects generally avoid the more magical features of languages (like the implicit global variables in Ruby, for example) because it hurts readability.

8. 那些匿名函数所需的本地变量据说被“封闭”(closedover)或“提升”(lifted)到该匿名类中。

Locals variables needed by those functions are said to "closed over" or "lifted" into the anonymous class.

9. 解决办法是,把你的变量放在一个匿名函数内部,定义完之后立即调用它。

The workaround is to encapsulate your variables in an anonymous function and call that function immediately after you define it.

10. 将匿名方法提取到其他方法中时,将在调用提取方法时获取局部变量的值。

When an anonymous method is extracted into another method, the value of the local variable is obtained at the moment of the call to the extracted method.

11. 当匿名方法使用局部变量的值时,将在执行匿名方法时获取该值。

When an anonymous method USES the value of a local variable, the value is obtained at the moment the anonymous method is executed.

12. 由于在异步函数中所使用的“局部变量”实际上是某个匿名类中的字段,因此在调用期间它们必须被保留。

Since the "locals" used by an asynchronous functions are actually fields on an anonymous class, they must be retained for the duration of the call.

13. 由于在异步函数中所使用的“局部变量”实际上是某个匿名类中的字段,因此在调用期间它们必须被保留。

Since the "locals" used by an asynchronous functions are actually fields on an anonymous class, they must be retained for the duration of the call.

版权声明:问题易所有作品(图文、音视频)均来源网络,版权归原创作者所有,与本站立场无关,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理!