Imperative programming definitely shapes your thinking.
命令式编程明确塑造了您的思维方式。
In an imperative programming language one might accomplish this with a loop.
在命令型(imperative)编程语言里,一般会用循环来达到相同目的。
In imperative programming languages, I must think about each atomic step in my algorithm.
在命令式编程语言中,我们必须在算法中考虑每个原子步骤。
A different tack is to define a state machine as any imperative programming language in which the nodes are also the source lines.
另一种策略就是将状态机定义成一种强制性编程语言,其中节点也是源码行。
Imperative programming is painting, logic programming is sculpture, declarative programming is word art, functional programming process art.
命令式编程是绘画,逻辑编程是雕塑,声明编程是艺术字,函数式编程是工艺美术品。
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.
因为宏可以以任何方式展开常规代码,所以如果声明式语言不能满足需要,那么随时可以切换回命令式编程。
To use a functional language, you just need to let go of imperative programming styles. Learning to write in a more functional style has several benefits.
要使用函数性语言,只需要放弃命令式编程的风格。
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.
对新程序员来说,命令式程序设计通常是一个更为自然和直观的起点,这就是为什么大部分程序设计说明都集中关注命令式语言和方法的原因。
Since Rake gives a full imperative programming environment there are some things that are trivial to do in Rake which are cumbersome (or impossible without writing a custom Ant task) in Ant.
由于Rake提供了一套完整的命令式编程环境,有些在Ant里实现起来很繁琐(或者不写自定义Ant任务几乎无法实现)的事情在Rake中就变得轻而易举了。
First, remember that much of the power of actors comes from the message-passing style rather than the blocking-invocation style that characterizes the rest of the imperative programming world.
首先,actor的主要能力来源于消息传递风格,而不采用阻塞-调用风格,这是它的主要特点。
But a generator goes a bit further than a closure: a generator also "remembers" its position within flow-control constructs (which, in imperative programming, is something more than just data values).
但生成器比“终止”要更进一步:生成器还“记住”了它在流控制构造(在命令式编程中,这种构造不只是数据值)中的位置。
Imperative programs are formed by a sequence of statements with an explicit order, and their algorithms and programming constructs rely heavily on application state.
命令式编程由一系列带有明确顺序的语句构成,它们的算法和编程构造严重依赖于应用程序的状态。
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.
很难想像没有这些特征的编程语言,因为命令式语言“告诉我如何做”的方式是如此深刻地确立在我们的日常编程哲学中。
Users of imperative languages rely on assignments more than any other programming technique.
命令式编程的用户对赋值的依赖要超过其他编程技术。
One critical difference between imperative and declarative programming methodologies is the notion of completeness.
命令式编程和声明式编程方法之间的一个关键差异是完整性。
Many languages using other programming language paradigms, such as object-oriented, imperative, and so on, are also dynamic languages.
许多使用其他的程序设计语言范型的语言,例如面向对象的、命令式的,等等,也是动态语言。
Once you get used to the new bind, trigger and animation support, it is hard to go back to the old style of imperative, event-driven UI programming.
一旦你习惯了新的绑定、触发器及动画支持,你就很难回到老风格命令式的、事件驱动的UI编程方法。
Until relatively recently programming languages have fit neatly into either "imperative" or "functional" categories.
不太久之前编程语言还可以毫无疑义地归类成“命令式”或者“函数式”。
Functional programming gives you new, different building blocks to achieve the same goals that imperative languages accomplish with other mechanisms.
函数式编程为您提供了新的、不同的构建块,可以实现命令式语言使用其他机制实现的相同效果。
Still, state changes are consistently one of the chief causes for programming errors for imperative programmers.
尽管如此,对命令式语言程序员来说,状态的改变依然是程序设计错误的主要原因。
When most programmers think about programming, they imagine imperative styles and techniques for writing applications.
大多数程序员考虑编程时,他们都要设想用于编写应用程序的命令式样式和技术。
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.
函数编程方式很容易理解,但是如果您习惯了过程序和关注状态的命令式语言,可能不太容易适应它。
OCaml as was chosen a basis in part because it supports a mix of functional, imperative, and object-oriented programming styles.
Ocaml被选中的一部分原因是,它支持函数式、命令式和面向对象的混合编程风格。
Table 1 shows several common programming languages categorized as either imperative or declarative.
表1显示了几种常见的命令式或声明式编程语言。
A declarative programming style is almost always a more direct way of stating constraints than is an imperative or procedural one.
声明性编程样式在声明约束方面几乎一直比命令式或过程序样式更直接。
It is imperative that we drastically simplify the programming model.
我们迫切需要极大地简化编程模型。
The imperative (and especially) object-oriented programming style uses structure and messaging as building blocks.
命令式的(特别是)面向对象编程风格采用结构和消息传递作为构建块。
The most popular general purpose programming languages -- including Python and other object-oriented languages -- are predominantly imperative in style.
最受欢迎的通用编程语言(包括Python和其它面向对象的语言)在样式上绝大多数都是命令式的。
Their mathematical modeling are needful, since they are not only indispensable for CNC machining and programming, but also imperative for investigating and improving the drill point performance.
但是,需要建立它们的数学模型。 这不仅是CNC加工和编程的前提,也是分析研究和提高钻尖性能的依据。
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.
既是一个时序逻辑系统也是一个程序设计语言,它能表示普通高级语言中几乎所有的重要机制。
应用推荐