Using a function as a function argument, or returning a function as a value, elevates this abstraction into the realm of higher-order functions.
将函数用作函数的参数,或将函数作为值返回,这些概念属于高阶函数的领域。
One of the benefits of switching to a functional style is the ability to leverage higher-order function support provided by the language or framework.
转换到函数样式的收益之一就是能利用语言或框架提供的高阶函数。
PHP's array_filter is an example of what is know in functional programming as a higher-order function.
php的array _ filter是函数式编程语言中高阶函数的一个例子。
应用推荐