They provide some tools that imperative languages usually don't.
它们提供了命令式语言通常不提供的一些工具。
Users of imperative languages rely on assignments more than any other programming technique.
命令式编程的用户对赋值的依赖要超过其他编程技术。
This means imperative languages like VB and C# can call functional libraries created primarily for F#.
这意味着命令式的语言,如VB和C#,能调用主要为F#创建的函数化函数库。
In imperative languages, any method that can possibly return different values, given the same input, has side effects.
在命令式语言中,输入相同而可能返回不同值的方法,都有副作用。
Functions form the building blocks for processing and are imbued with several features not found in traditional imperative languages.
函数为流程构建了功能模块,并具有传统命令式语言中所不具有的一些功能。
Functional programming gives you new, different building blocks to achieve the same goals that imperative languages accomplish with other mechanisms.
函数式编程为您提供了新的、不同的构建块,可以实现命令式语言使用其他机制实现的相同效果。
However, part of the reason lies with the fact that most imperative languages have lackluster support for it, making it more difficult to use than it should be.
然而,造成这种现象的部分原因是大多数命令式语言没有提供相应的支持,因此使用递归很困难。
It's interesting to note that recursion is as efficient as iteration in imperative languages because the recursion is translated into iteration under the covers.
有趣的是要注意递归与迭代在命令性语言中同样高效,因为递归在幕后被转化成迭代。
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.
函数编程方式很容易理解,但是如果您习惯了过程序和关注状态的命令式语言,可能不太容易适应它。
XYZ/E is a temporal logic system as well as a programming language. It can represent almost every kind of significant features in conventional imperative languages.
既是一个时序逻辑系统也是一个程序设计语言,它能表示普通高级语言中几乎所有的重要机制。
Recursion is important to Haskell because unlike imperative languages, you do computations in Haskell by declaring what something is instead of declaring how you get it.
递归在haskell中至关重要。与命令式语言要求你去表达求解的方式不同,haskell更倾向于让你提供问题的描述。
Programmers of imperative languages will be surprised by what you can do without flow control; they'll be even more surprised at how much easier many tasks are without it!
命令式语言程序员将对不使用流程控制就可以完成的工作而感到惊讶;如果不使用它,很多工作会更加简单,这将使他们更为惊讶!
Imperative programming is often a more natural and intuitive starting place for new programmers which is why most programming introductions focus on imperative languages and methods.
对新程序员来说,命令式程序设计通常是一个更为自然和直观的起点,这就是为什么大部分程序设计说明都集中关注命令式语言和方法的原因。
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 imperative programming languages, I must think about each atomic step in my algorithm.
在命令式编程语言中,我们必须在算法中考虑每个原子步骤。
Many languages using other programming language paradigms, such as object-oriented, imperative, and so on, are also dynamic languages.
许多使用其他的程序设计语言范型的语言,例如面向对象的、命令式的,等等,也是动态语言。
It seems like the drab world of C-like, imperative, curly braces languages might be spiced up by a variety of paradigms.
似乎与C语言一样具有单调命令式和括号的语言都可以使用不同的范式形成。
Until relatively recently programming languages have fit neatly into either "imperative" or "functional" categories.
不太久之前编程语言还可以毫无疑义地归类成“命令式”或者“函数式”。
Table 1 shows several common programming languages categorized as either imperative or declarative.
表1显示了几种常见的命令式或声明式编程语言。
The most popular general purpose programming languages -- including Python and other object-oriented languages -- are predominantly imperative in style.
最受欢迎的通用编程语言(包括Python和其它面向对象的语言)在样式上绝大多数都是命令式的。
But learning the alternative tools in functional languages can expand the way you look at a problem. Consider these imperative constructs.
但通过学习替代的函数性编程工具,可以扩展您思考问题的方式。
But learning the alternative tools in functional languages can expand the way you look at a problem. Consider these imperative constructs.
但通过学习替代的函数性编程工具,可以扩展您思考问题的方式。
应用推荐