这是另一个函数编程结构。
它们来自函数编程世界,其中涉及大量概念。
They come from the functional programming world, where there are a number of concepts in play.
LINQ技术是一种声明性函数编程形式。
LINQ technology is a form of declarative, functional programming.
不可变数据是函数编程中的一个重要元素。
Immutable data is an important element of functional programming.
我把Clojure看作是一种面向函数编程的数据结构。
One parting thought is that I have come to think of Clojure as sort of a data structure oriented functional programming.
它受到了Lisp的函数编程特性和其他函数式语言的启发。
It was inspired by the functional programming aspects of Lisp and other functional languages.
在下一期文章中,我将深入介绍函数编程中的重要概念:不可变性。
In the next installment, I'll talk in depth about one of functional programming's building blocks: immutability.
我所展示的用于过滤列表的函数方法在函数编程语言和库中非常普遍。
The functional approach I've shown to filtering lists is common across functional programming languages and libraries.
函数编程是一种编程风格,它将关注点从执行命令转移到表达式计算。
Functional programming is a style of programming that moves the focus from executing commands to the evaluation of expressions.
重构为纯函数中所述,使用纯函数是函数编程的一个示例。
Refactoring Into pure functions, using pure functions is an example of functional programming.
例如,包含函数指针的多数语言都可用于可靠地支持函数编程。
For example, most languages that contain function Pointers can be used to credibly support functional programming.
本文演示了闭包在PHP V 5.3代码中作为函数编程构造时多么有用。
This article demonstrated how useful closures are as a functional programming construct within PHP V5.3 code.
函数编程可以避免使用状态和可变数据,并改为强调函数的应用。
Functional programming avoids state and mutable data, and instead emphasizes the application of functions.
函数编程与语言是否支持函数无关,而是指程序操作和组件的工作方式。
This has nothing to do with whether it supports functions, but is related to how the operation of programs and components works.
同样,在函数编程结构中,您可以把细节留给抽象机制,在出现问题的时候才去关注它。
Similarly, in functional programming constructs, you generally willingly cede details to the abstraction, reserving the times you don't to when it really matters.
XSLT高级程序员以函数编程方式编写XSLT,这种方式强调无状态方法。
Advanced XSLT programmers write XSLT in a functional programming style that emphasizes a stateless approach.
函数编程范例(paradigm)意味着对于相同的输入值,代码块会产生相同的输出值。
The functional programming paradigm means that the individual blocks of code can produce consistent output values for the same input values.
Erlang与其他流行的语言之间的主要差异是,Erlang基本上是一种函数编程语言。
A main difference between Erlang and more popular languages is that Erlang is primarily a functional programming language.
闭包函数和lambda函数绝对不是新出现的概念;它们均来自函数编程领域。
The concepts of closures and lambda functions are definitely not new ones; they both come from the functional programming world.
函数编程代表了下一个抽象阶段:将更加琐碎的细节如遍历、并发性和状态尽可能留给运行时处理。
Functional programming represents the next abstraction leap: ceding more mundane details such as iteration, concurrency, and state to the runtime as much as possible.
函数编程方式很容易理解,但是如果您习惯了过程序和关注状态的命令式语言,可能不太容易适应它。
The functional programming approach is easy to understand, but can be difficult to apply if you are used to the more procedural and state-focused imperative languages.
使用不可变值是一种很好的做法,因为这样做可以使代码从函数编程的一个重要方面中获益。
Using immutable values is a good practice because doing this allows your code to benefit from an important aspect of functional programming.
要想了解函数编程风格的好处以及它在Erlang中的实现方式,最好的方法是了解fibonacci函数。
A perfect way to see the benefits of the functional programming style, and how this works within Erlang, is to look at the Fibonacci function.
闭包最初是在20世纪60年代作为Scheme的一部分开发的,Scheme是最著名的函数编程语言之一。
Closures were originally developed in the 1960s as part of Scheme, one of the most well-known functional programming languages.
一般情况下在使用高级抽象,比如函数编程时,您不需要了解实现细节,但这并不意味这在必要的情况下,就无法了解。
Just because you usually surrender knowledge of implementation details when using higher-level abstractions like functional programming doesn't mean that you can't get down and dirty if you must.
与支持函数编程的其他语言不同,Ceylon不支持匿名函数 (直接出现在表达式中的未命名函数)。
Unlike other languages with functional support, Ceylon doesn't support anonymous functions (unnamed functions that appear directly in expressions).
Scala中的函数编程将提供一些新的设计结构和理念以及一些内置构造,它们使某些场景(例如并发性)的编程变得非常简单。
Functional programming in Scala will give you some new design constructs and ideas, as well as built-in constructs that make programming certain scenarios (such as concurrency) much, much easier.
这两者之间的差别非常微小,最终结果也是相同的,但是如果您在一名函数编程人员的面前混用局部套用和部分应用,那么他一定会纠正您的说法。
The difference is subtle, and the end result is the same, but if you use the terms currying and partial application interchangeably within earshot of a functional programmer, count on being corrected.
在后面您将会看到,它还包括一些函数编程结构,如array . map与array . reduce,特别是用于解析和生成xml的e4 X。
As you will see later, this includes some functional programming constructs like Array.map and Array.reduce, and especially E4X for parsing and generating XML.
如果可行,他就可以在几小时之内,用Python整洁的列表和字典等数据结构,以及列表理解(list comprehension)等整洁的函数编程功能来编写这个代码。
If it was possible he could write it within a few hours with Python's neat data structures such as list and dictionary, neat functional programming features such as list comprehension.
应用推荐