immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- Embracing immutability is high on the list of ways to think like a functional programmer.
在像函数式编程者那样思考的方法列表中,维护不变性处于列表的较高位置。 - Owing to their uniqueness and immutability, fingerprints have become the most widely used biometric feature in recent years.
由于指纹具有唯一性和终身不变性,正成为近年来应用最为广泛的生物特征。 - Use magnetic torque type capping heads, automatic grasping cover, screw cap, immutability torque capping function.
采用磁力扭矩式封盖头,自动抓盖、拧盖,有恒力矩封盖功能。 - In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。 - Because Java is optimized for manipulating state, you have to work around some of those mechanisms to gain the benefits of immutability.
因为Java已针对操纵状态进行了优化,因此您不得不绕过这样的一些机制来获得的不变性的一些好处。 - 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 ".
前人在把握民间舞蹈不可变性的创作实践中,经历了脱俗变雅,由内容出发和从形式到形式三个阶段。 - Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。 - The president stressed once more the immutability of his country's borders.
总统再次强调了国家的边界不可改变。 - 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.
不变性是函数式编程的关键,因为它与尽量减少变化部分的这一目标相一致,这使得对这些部分的推断更为容易一些。
