用函数式编程语言写一个应用。
这是函数式编程语言中常见的一个强大特性。
This is a powerful feature common in functional programming languages.
是否应当将php作为函数式编程语言来使用?
表1显示了几种常见的命令式或声明式编程语言。
Table 1 shows several common programming languages categorized as either imperative or declarative.
在过去的几年中,人们对函数式编程语言的兴趣高涨。
In the past couple of years, interest in functional programming has skyrocketed.
您可能已经发现,Clojure是一种函数式编程语言。
As you might guess, Clojure is a functional programming language.
在命令式编程语言中,我们必须在算法中考虑每个原子步骤。
In imperative programming languages, I must think about each atomic step in my algorithm.
特别地,函数式编程语言必须提供高阶和一流的函数,这是本文所定义的。
Specifically, functional programming languages must provide high-order and first-class functions, which this article defines.
本系列文章将介绍函数式编程相关主题,但内容不仅限于函数式编程语言。
This series explores the subject of functional programming but isn't solely about functional programming languages.
php的array _ filter是函数式编程语言中高阶函数的一个例子。
PHP's array_filter is an example of what is know in functional programming as a higher-order function.
对,随着多核处理器时代的到来,函数式编程语言似乎更适合新的硬件架构。
Well, which the advent of multicore processors, functional programming languages seems naturally suited to the new hardware architectures.
阅读函数式编程语言的时候则大不相同——如果你没有习惯的话看起来简直莫名其妙。
Not so much when reading functional programming - it might look like complete gibberish when you're not used to it.
XQuery 1.0:新引入的查询和函数式编程语言,为查询XML数据集合而设计。
XQuery 1.0: a newly introduced query and functional programming language designed to query collections of XML data.
称作Haskell的函数式编程语言展示了一个用于符号数学的程序,名为DoCon。
The functional programming language known as Haskell features a program for symbolic mathematics known as DoCon.
我希望我们能有一种符号式编程语言,这样我就能够更好地用其进行思考并将其记在我的脑海中了。
I wish we had a symbolic programming language I could think in better and keep in my head.
我开始想知道面向对象编程到底是什么,而且我认为Erlang不是面向对象的,它是函数式编程语言。
I started wondering about what object oriented programming was and I thought Erlang wasn't object oriented, it was a functional programming language.
这也是函数式编程语言正变得如此流行并且像事件来源(要获得更多信息的链接,请参见参考资料)这样的模式被更频繁地应用的原因。
It is the reason that functional programming languages are becoming so popular and that patterns like event sourcing (see Resources for a link to more information) are being more frequently applied.
它具有OCaml常见的核心语言功能,以及其他流行的函数式编程语言的一些特性,并从很多其他编程语言获取了一些思想,包括Haskell、Erlang和C#。
It shares a common core language with OCaml, another popular functional programming language, and draws ideas from many other programming languages, including Haskell, Erlang, and C#.
函数式编程的核心是函数,就像面向对象语言的主要抽象方法是类。
At the core of functional programming is the function, just as classes are the primary abstraction in object-oriented languages.
它们之间的共同点是:它们都具有许多隐式假设和隐式状态,而在通用编程语言中必须显式地处理这些东西。
The commonality between them is that they all have a lot of implicit assumptions and implicit state that would have to be dealt with explicitly in a general-purpose programming language.
它受到了Lisp的函数编程特性和其他函数式语言的启发。
It was inspired by the functional programming aspects of Lisp and other functional languages.
函数式编程不只是一组工具或者语言,更是一种心态。
Functional programming is more a mindset than a particular set of tools or languages.
如果您已经在使用了驼峰式大小写的编程语言内进行过编程,那么,这非常容易习惯。
If you're already programming in a language that USES camel case, however, this is pretty easy to get used to.
很难想像没有这些特征的编程语言,因为命令式语言“告诉我如何做”的方式是如此深刻地确立在我们的日常编程哲学中。
It's hard to imagine programming languages without these characteristics because imperative languages' "tell me how to do it" approach is so firmly entrenched in our everyday programming philosophies.
函数式编程中,传统语言中用循环完成的多数任务都可以使用递归来完成。
In functional languages, most tasks that are accomplished with loops in traditional languages are instead accomplished with recursion.
如果您和大多数程序员一样,那么您一定是从像 C++ 的命令式语言开始您的编程生涯的。
If you're like most programmers, you started your career with an imperative language like C++.
使用嵌入式SQL,数据库编程的复杂性可以通过一些宏子语言来屏蔽。
With Embedded SQL, the intricacies of database programming are masked by a sort of macro sub-language.
公开rest式服务的好处之一是它们可以被多种客户端编程语言使用,并且不会出现互操作性问题。
One of the advantages you get by exposing RESTful services is that they can be consumed by a variety of client programming languages without running into interoperability issues.
契约式设计(或“契约式编程”)并不是编程领域的新概念,许多语言中已经有类似的实现了。
Design by Contract, or programming by Contract, is not a new concept in programming, many languages already having such implementations.
因为宏可以以任何方式展开常规代码,所以如果声明式语言不能满足需要,那么随时可以切换回命令式编程。
Since the macro expands to regular code anyway, you can always switch back to imperative programming if the declarative language doesn't suit your needs.
应用推荐