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方法,代码愈发紧凑并且还提供了域不可修改的额外益处。 - Location independence and the guarantee of immutability of LSIDs make them perfect candidates for database cross-references.
LSID的位置独立性和不变性的保证使其成为数据库交叉引用的极佳候选。 - In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。 - 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.
不变性表示将更改提交到存储库之后,它们就成为项目历史记录不变的一部分。 - "Essay on the Nature and Immutability of Truth, in Opposition to Sophistry and Scepticism"
论自然和真理的不变性、反向诡辩和怀疑论 - Structural sharing relies on the data's immutability to make sharing possible between the old and new instances of the data.
结构共享依靠数据的不可变性使数据新旧实例之间的共享成为可能。 - The practice of immutability of the folk dance has experienced three stages: "changing from common to elegance"," evaluating content "and" from form to form ".
前人在把握民间舞蹈不可变性的创作实践中,经历了脱俗变雅,由内容出发和从形式到形式三个阶段。 - 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.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。
