mutable state的意思|示意
可变状态
mutable state的网络常见释义
可变状态 可变状态(Mutable state)是指可修改的内存区域;
mutable state相关例句
Mutable state and locks are problematic for many reasons.
出于多种原因,可变状态和锁容易出问题。
Perhaps the most important pattern for increasing horizontal scalability in the cloud is the minimization of mutable state.
在云中增加水平可伸缩性的最重要模式可能就是最大限度地减少可变状态。
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中,可变状态和副作用都十分常见,甚至是被鼓励的。
A variable stores the current state and is genuinely mutable.
变量存储了当前状态,并且真正是可变的。
Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data.
函数式编程是一种编程范式,在这种编程方式中,我们更多的使用函数运算。
Using either while or mutable state sacrifices a key aspect of the Scala language, however, which is the encouragement to write code that parallelizes well.
但是,使用while或可变状态意味着牺牲scala语言的另一个关键方面,即鼓励编写具有良好并行性的代码。