immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- Immutability is key to functional programming because it matches the goals of minimizing the parts that change, making it easier to reason about those parts.
不变性是函数式编程的关键,因为它与尽量减少变化部分的这一目标相一致,这使得对这些部分的推断更为容易一些。 - Failed to get the activity model immutability.
无法获得活动模型永久性。 - In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。 - Structural sharing relies on the data's immutability to make sharing possible between the old and new instances of the data.
结构共享依靠数据的不可变性使数据新旧实例之间的共享成为可能。 - Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。 - The practice of immutability of the folk dance has experienced three stages: "changing from common to elegance"," evaluating content "and" from form to form ".
前人在把握民间舞蹈不可变性的创作实践中,经历了脱俗变雅,由内容出发和从形式到形式三个阶段。 - In this installment, I discuss one of the building blocks of functional programming: immutability.
在这一部分中,我讨论的是函数式编程的基石之一:不变性。 - Immutability confers a number of benefits, the chief one being that Rope instances can be shared without precaution in a multithreaded environment, thereby greatly simplifying program logic.
不可修改有许多好处,第一条好处就是不用考虑多线程环境就能共享Rope的实例,从而简化了程序的逻辑。 - That ends it alignment graphics, convey will converge on art design cycle rotation of immutability.
重圆连珠图形,在艺术设计上传达着融会贯通周而复始旋转的永恒性。 - Package, is a good example of how to harness the power of immutability while still permitting occasional modifications.
类是如何既利用不变性的能力,又仍允许偶尔修改的一个良好示例。
