并不是不能为命令式程序进行那种程序证明,而是状态改变发生的次数之多使得那些证明不具意义。
It's not that program proofs cannot be done with imperative programs, but that the number of state changes that occur make them unwieldy.
特别是,程序员必须显式地管理状态和状态之间的转换。
In particular, the programmer has to explicitly manage states and transitions between states.
命令式编程由一系列带有明确顺序的语句构成,它们的算法和编程构造严重依赖于应用程序的状态。
Imperative programs are formed by a sequence of statements with an explicit order, and their algorithms and programming constructs rely heavily on application state.
应用推荐