immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- The president stressed once more the immutability of his country's borders.
总统再次强调了国家的边界不可改变。 - Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。 - Because Java is optimized for manipulating state, you have to work around some of those mechanisms to gain the benefits of immutability.
因为Java已针对操纵状态进行了优化,因此您不得不绕过这样的一些机制来获得的不变性的一些好处。 - 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.
不变性是函数式编程的关键,因为它与尽量减少变化部分的这一目标相一致,这使得对这些部分的推断更为容易一些。 - Immutability means that once changes are committed to a repository, they are a permanent part of a project's historical record.
不变性表示将更改提交到存储库之后,它们就成为项目历史记录不变的一部分。 - In the next installment, I'll talk in depth about one of functional programming's building blocks: immutability.
在下一期文章中,我将深入介绍函数编程中的重要概念:不可变性。 - Immutability also allows us to simplify reasoning about concurrency and provide cheap reads of shared data.
不可变性还允许我们简化有关并发性的推理,并提供读取共享数据的低成本方法。 - Location independence and the guarantee of immutability of LSIDs make them perfect candidates for database cross-references.
LSID的位置独立性和不变性的保证使其成为数据库交叉引用的极佳候选。 - Owing to their uniqueness and immutability, fingerprints have become the most widely used biometric feature in recent years.
由于指纹具有唯一性和终身不变性,正成为近年来应用最为广泛的生物特征。 - Structural sharing relies on the data's immutability to make sharing possible between the old and new instances of the data.
结构共享依靠数据的不可变性使数据新旧实例之间的共享成为可能。