In an imperative programming language one might accomplish this with a loop.
在命令型(imperative)编程语言里,一般会用循环来达到相同目的。
A different tack is to define a state machine as any imperative programming language in which the nodes are also the source lines.
另一种策略就是将状态机定义成一种强制性编程语言,其中节点也是源码行。
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.
因为宏可以以任何方式展开常规代码,所以如果声明式语言不能满足需要,那么随时可以切换回命令式编程。
Many languages using other programming language paradigms, such as object-oriented, imperative, and so on, are also dynamic languages.
许多使用其他的程序设计语言范型的语言,例如面向对象的、命令式的,等等,也是动态语言。
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.
要使用函数性语言,只需要放弃命令式编程的风格。
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.
既是一个时序逻辑系统也是一个程序设计语言,它能表示普通高级语言中几乎所有的重要机制。
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.
既是一个时序逻辑系统也是一个程序设计语言,它能表示普通高级语言中几乎所有的重要机制。
应用推荐