第三个视频有关命令式的并行处理。
让我们来看一看一些命令式的标题。
经验7.可以用说明式的或命令式的方式表示转换。
Lesson 7. Transformations can be expressed declaratively or imperatively.
他做了个命令式的手势。
一般来说,当描述复杂的转换时,命令式的方法更适合。
In general, the imperative approach is more adaptable when describing complex transformations.Figure 7: a pattern of model elements in a reference model.
命令式的(特别是)面向对象编程风格采用结构和消息传递作为构建块。
The imperative (and especially) object-oriented programming style uses structure and messaging as building blocks.
这意味着命令式的语言,如VB和C#,能调用主要为F#创建的函数化函数库。
This means imperative languages like VB and C# can call functional libraries created primarily for F#.
可以被翻译为一个命令式的动词,但是在这个语境中,它是一个名词。
"Post" could be interpreted as an imperative verb, but in this context it's a noun.
这种命令式的绘图模型更类似于opengl风格的绘制,而不是声明性的Web。
This model of imperative graphics owes much more to OpenGL-style drawing than to the declarative Web.
命令式的并行处理是基于并行版本的Do、For和For -Each操作。
Imperative parallelism is based on parallel versions of Do, For, and For-Each.
大部分时间他都是写给自己成立的教会,所以他觉得自己有权威给这些教会,写命令式的信。
Most of the time he was writing to churches he himself founded, so he felt like he had authority over these churches to write authoritative letters.
许多使用其他的程序设计语言范型的语言,例如面向对象的、命令式的,等等,也是动态语言。
Many languages using other programming language paradigms, such as object-oriented, imperative, and so on, are also dynamic languages.
保罗写他的书信时,他认为自己在写命令式的书信,它们是命令式的是因为,他是创立了教会的使徒。
Now Paul, when he was writing his letters, he thought he was writing authoritative letters, but they were authoritative because he was an apostle who had founded the churches.
一旦你习惯了新的绑定、触发器及动画支持,你就很难回到老风格命令式的、事件驱动的UI编程方法。
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.
最受欢迎的通用编程语言(包括Python和其它面向对象的语言)在样式上绝大多数都是命令式的。
The most popular general purpose programming languages -- including Python and other object-oriented languages -- are predominantly imperative in style.
我一边笑着,一边以命令式的,专业的语气说道:“我的真实姓名是杰德,我是一名月亮女巫,是在一家叫做O。”
My smile deepens as I say in my authoritative, professional voice, "my real name is Jade." I am a witch of the moon and a tracker for the organization known as o.
按钮拥有名为onclick的参数,它的值是Callback,当事件发生的时候,就会执行一段命令式的应用程序逻辑。
A button has an argument named onclick whose value is a Callback, a snippet of imperative application logic to be executed when the event occurs. In this particular case two things happen.
第一个迭代定义体系结构—它是人工的还是自动的,是集中的还是分散的,是在线的还是批命令式的,是直接文件存储还是通过关系性数据库等等。
The first iteration defines the architecture - is it manual or automated, is it centralized or distributed, is it on-line or batch, is it flat files or a relational data base, etc.
我一边笑着,一边以命令式的,专业的语气说道:“我的真实姓名是杰德,我是一名月亮女巫,是在一家叫做O.P.U.L.E.N.C.E的组织中做一名追踪者。
My smile deepens as I say in my authoritative, professional voice, “My real name is Jade. I am a witch of the moon and a tracker for the organization known as O.P.U.L.E.N.C.E.
命令式编程的用户对赋值的依赖要超过其他编程技术。
Users of imperative languages rely on assignments more than any other programming technique.
它们提供了命令式语言通常不提供的一些工具。
They provide some tools that imperative languages usually don't.
如果您和大多数程序员一样,那么您一定是从像 C++ 的命令式语言开始您的编程生涯的。
If you're like most programmers, you started your career with an imperative language like C++.
函数编程方式很容易理解,但是如果您习惯了过程序和关注状态的命令式语言,可能不太容易适应它。
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.
从而,在只是付出了一些指令的代价后,您的程序会拥有函数式程序的可证明性和命令式程序的速度和内存特性。
So, for the price of at most a few instructions, your program can have the provability of a functional program and the speed and memory characteristics of an imperative one.
表1显示了几种常见的命令式或声明式编程语言。
Table 1 shows several common programming languages categorized as either imperative or declarative.
然而,造成这种现象的部分原因是大多数命令式语言没有提供相应的支持,因此使用递归很困难。
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.
似乎与C语言一样具有单调命令式和括号的语言都可以使用不同的范式形成。
It seems like the drab world of C-like, imperative, curly braces languages might be spiced up by a variety of paradigms.
似乎与C语言一样具有单调命令式和括号的语言都可以使用不同的范式形成。
It seems like the drab world of C-like, imperative, curly braces languages might be spiced up by a variety of paradigms.
应用推荐