In FP, functions have no side effects and variables are immutable, while in OOP, mutable state and side effects are common, even encouraged.
在fp里,函数没有副作用,变量都是不易变的。而在OOP中,可变状态和副作用都十分常见,甚至是被鼓励的。
Many script engines maintain state of global variables and functions between calls to eval().
许多脚本引擎在 eval() 调用之间维持全局变量和函数的状态。
Every thread in an application requires memory to hold its stack (the area of memory used to hold local variables and maintain state when calling functions).
应用程序中的每个线程都需要内存来保存它的栈(用于在调用函数时保存本地变量和维持状态的内存区)。
So what they do is, they're describing how these thermodynamic properties change, in terms of only state functions and state variables.
他们的作用是描述,随着状态函数和状态变量的变化,系统的热力性质如何变化。
G Here, A and G, we've already got as functions of these easily controlled, conveniently controlled state variables.
这里,A和,我们已经把它们写成了,容易控制的状态变量的函数。
应用推荐