immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。 - Package, is a good example of how to harness the power of immutability while still permitting occasional modifications.
类是如何既利用不变性的能力,又仍允许偶尔修改的一个良好示例。 - 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.
不变性是函数式编程的关键,因为它与尽量减少变化部分的这一目标相一致,这使得对这些部分的推断更为容易一些。 - "Essay on the Nature and Immutability of Truth, in Opposition to Sophistry and Scepticism"
论自然和真理的不变性、反向诡辩和怀疑论 - Use magnetic torque type capping heads, automatic grasping cover, screw cap, immutability torque capping function.
采用磁力扭矩式封盖头,自动抓盖、拧盖,有恒力矩封盖功能。 - The practice of immutability of the folk dance has experienced three stages: "changing from common to elegance"," evaluating content "and" from form to form ".
前人在把握民间舞蹈不可变性的创作实践中,经历了脱俗变雅,由内容出发和从形式到形式三个阶段。 - Immutability means that once changes are committed to a repository, they are a permanent part of a project's historical record.
不变性表示将更改提交到存储库之后,它们就成为项目历史记录不变的一部分。 - 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.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。 - Immutability also allows us to simplify reasoning about concurrency and provide cheap reads of shared data.
不可变性还允许我们简化有关并发性的推理,并提供读取共享数据的低成本方法。
