Functional languages are not toothless.
函数性语言不是软弱无力的。
Functional languages have no side effects.
函数性编程没有副作用。
Closures are one of the common features of functional languages.
闭包是函数语言的共有特征之一。
This article has merely scratched the surface of functional languages.
本文仅仅触及到了函数性语言的皮毛。
There are concurrent extensions for other functional languages like LISP.
对于其他函数式语言,像LISP,存在并行扩展。
In the ML-descended functional languages, functions have type signatures.
传承自ml的函数语言中,函数是类型签名。
It follows a common pattern in functional languages for dealing with a list.
它采用函数语言中的一种常见模式处理列表。
This capability is important in functional languages for at least two reasons.
函数式语言的这一功能很重要,原因至少有两个。
Functional languages can dramatically impact the way you think about programming.
函数性语言极大地影响了编程的思考方式。
But functional languages turn out to be very well suited to parallel programming.
不过事实证明函数型语言非常适合于并行编程。
It is more of a functional languages relying on function calls rather than OOP.
它更接近与依赖函数调用的函数式语言,而非面向对象语言。
Many functional languages have specific methods to iterate over lists using this idiom.
许多函数语言均利用这一特点通过特定的方法实现列表遍历。
This is a slight oversimplification of most functional languages, but only a slight one.
对大多数函数性语言来说,这有点过于简化,但是只是过了一点点。
Some functional languages also impose strict rules, which does not mean they offer less power
一些函数式语言也增加了严格的规则,但这并不意味着他们就不强大
It was inspired by the functional programming aspects of Lisp and other functional languages.
它受到了Lisp的函数编程特性和其他函数式语言的启发。
Closures are common in many programming languages, especially in functional languages, such as Clojure.
闭包在很多编程语言中非常常见,特别是在Clojure等函数语言中。
Functional languages, including XSLT, can't include traditional loops because loops are ordered in time.
函数式语言包括XSLT,但不能包含传统的循环,因为循环在时间上是有序的。
The problems amenable to solution by using higher-order functions aren't unique to functional languages.
适合采用高阶函数来解决的问题不仅限于函数式语言中。
This in turn exposes a fundamental shift in thinking in functional languages: Focus on results, not steps.
这反过来揭示了函数式语言的根本性转变:关注结果,而不是步骤。
By adding clean syntax and support, functional languages make recursion a candidate for simple code reuse.
通过增加简明的语法和支持,函数式语言使递归成为实现简单代码重用的候选方法。
Pattern matching is another feature found in many, if not most, functional languages, and offers some useful power.
模式匹配是许多(但不是大多数)函数语言中可以找到的另一个特性,它提供了一些有用的功能。
One of the underlying tenets of this series is that functional languages should handle more low-level details for you.
本文章系列所持的一个基本宗旨就是,函数式语言应该为您处理更多低层面的细节。
Pure functional languages do not rely on operations that save or retrieve state and do not allow destructive assignments.
纯粹的函数性语言不依赖保存或检索状态的操作,因此不允许破坏性赋值。
Normally, functional languages eschew the while loop, because most of what while does can be done instead with recursion.
通常,函数语言会避开while循环,因为while实现的大多数操作都可以使用递归来完成。
Because you can include functions in the data structures, functional languages make excellent platforms for metaprogramming.
因为可以在数据结构中包含函数,所以函数性语言构成了元编程的优秀平台。
Instead, programs written in pure functional languages communicate by passing messages between concurrent, autonomous processes.
相反的,用纯函数式语言编写的程序在并发自主的进程中通过传递消息来通信。
As with other traditional functional languages, Scala requires that functions (in this case a method) must always return a value.
与其他传统函数语言一样,Scala要求函数(在本例中为一个方法)必须始终返回一个值。
In functional languages, most tasks that are accomplished with loops in traditional languages are instead accomplished with recursion.
函数式编程中,传统语言中用循环完成的多数任务都可以使用递归来完成。
In fact, language experts generally believe functional languages operate at a higher abstraction level than most object-oriented languages.
实际上,语言专家们通常相信函数性语言操作的抽象级别要比面向对象语言高。
Although learning a new language is a hassle, you get lots of bang for the buck from functional languages when you understand their features.
尽管学习一门新的语言很麻烦,但对于函数语言,当您了解其特点后,学起来就容易得多。
应用推荐