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中,可变状态和副作用都十分常见,甚至是被鼓励的。
G Here, a and g, we've already got as functions of these easily controlled, conveniently controlled state variables.
这里,A和,我们已经把它们写成了,容易控制的状态变量的函数。
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).
应用程序中的每个线程都需要内存来保存它的栈(用于在调用函数时保存本地变量和维持状态的内存区)。
As the GDM code says, "it's hard to be event controlled while maintaining state," so we add our own state-monitoring variables and data structures to process the keystroke-dynamics functions.
如GDM代码所示,“维护状态时很难控制事件”,因此添加我们自己的状态监视变量和数据结构来处理击键力学函数。
Logging provides the maximum amount of detail of the application state before the failure, such as value of variables, return value of functions, and so on.
日志记录提供了故障前应用程序状态的详细信息,如变量的值、函数的返回值等等。
So what they do is, they're describing how these thermodynamic properties change, in terms of only state functions and state variables.
他们的作用是描述,随着状态函数和状态变量的变化, 系统的热力性质如何变化。
Each state needs to be populated with the same variables and global functions, which increases memory consumption.
每个国家需要填充相同的变量和全局函数,这增加了内存的消耗。
The aerodynamic terms in the force and moment equations have all been replaced by the state variables of which they are functions. and control forces and moments.
力和力矩方程中的空气动力项已经全部用为其函数的状态变量及操纵力和力矩所代替。
The aerodynamic terms in the force and moment equations have all been replaced by the state variables of which they are functions. and control forces and moments.
力和力矩方程中的空气动力项已经全部用为其函数的状态变量及操纵力和力矩所代替。
应用推荐