Closures are anonymous functions with closed scope.
闭包是具有闭合作用域的匿名函数。
Go provides a simple syntax for declaring anonymous functions.
Go为声明匿名函数提供了简单的语法。
By replacing formal function definitions with anonymous functions, you simplify code.
通过用匿名函数来替换正式函数定义,您可简化代码。
By design, closures are anonymous functions, which means they do not appear in the reflection API.
按照设计,闭包是匿名函数,这意味着它们不显示在反射api中。
Unfortunately for VB users, it isn't nearly as clean in languages that don't support multi-line anonymous functions.
不过对于VB用户来说,在不支持多行匿名函数的语言里,新语法看起来没那么清爽。
Unlike other languages with functional support, Ceylon doesn't support anonymous functions (unnamed functions that appear directly in expressions).
与支持函数编程的其他语言不同,Ceylon不支持匿名函数 (直接出现在表达式中的未命名函数)。
In general, we recommend that you do not use anonymous functions to subscribe to events if you will have to unsubscribe from the event at some later point in your code.
一般来说,如果您在程序码稍后必须取消订阅事件,建议您不要使用匿名函式订阅事件。
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.
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.
lambda函数(或者通常所谓的“匿名函数”)是可以随时定义的简单抛弃型函数,并且通常都与变量绑定。
应用推荐