• In this article, I'll continue this tour of concepts by talking about first-class functions, optimizations, and closures.

    本文中,继续讨论这些概念,讲解一级函数优化闭包

    youdao

  • The reflection API has great support for closures, as we've now seen, in the form of being able to create them from existing functions and methods dynamically.

    正如我们反射API能够通过现有函数方法动态创建包,从而闭包提供强大的支持

    youdao

  • I'll also circle back to some interesting comparisons between closures and higher-order functions in a later installment.

    后续内容闭包高阶函数一些有趣的对比

    youdao

  • After becoming comfortable with lambdas and closures, you may find yourself reducing code and creating more readable and reusable code by writing your own higher-order functions.

    适应了lambdasclosures以后可能会发现通过编写自己的函数已经减少了代码创建了更多可读可用代码。

    youdao

  • The concepts of closures and lambda functions are definitely not new ones; they both come from the functional programming world.

    闭包函数lambda函数绝对不是出现概念它们来自函数编程领域

    youdao

  • First-class methods and functions (closures)

    一流的方法函数闭包

    youdao

  • The concept of lambda functions is the basis for closures and provides a much-improved way to create functions on the fly vs. the create_function function already in PHP.

    lambda函数概念闭包基础并且提供了一种PHP已有的create_function函数改进很多的动态创建函数的方法

    youdao

  • To support closures fully, a language needs to provide support for manipulating, invoking, and creating functions at run time and for functions to capture the environment in which they were created.

    完全支持包,这种语言必须支持运行操纵调用创建函数,还要支持函数可以捕获创建这些函数环境

    youdao

  • These simple list-building instructions form the foundation of recursions, higher-order functions, and even higher-order abstractions like closures and continuations.

    这些由列表构建简单指令构成了递归高阶函数甚至闭包continuation之类高级抽象基础

    youdao

  • We discussed lambda functions and the advantages that closures have over them.

    我们讨论了lambda函数包与这些函数相比优点

    youdao

  • This is where closures step in and take the lambda functions to the next level.

    因此出现了使lambda函数得到增强。

    youdao

  • The above example is a good use case for closures: It USES one of the 18 standard PHP array functions that take a function as a parameter (such as array_walk, usort, and array_app).

    以上示例closures好的使用例子采用18个标准php阵列函数之一,它将函数作为参数(比如array_walk、usort、和array_app)。

    youdao

  • The above example is a good use case for closures: It USES one of the 18 standard PHP array functions that take a function as a parameter (such as array_walk, usort, and array_app).

    以上示例closures好的使用例子采用18个标准php阵列函数之一,它将函数作为参数(比如array_walk、usort、和array_app)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定