诗词屋>英语词典>immutability翻译和用法

immutability

n.  不变;永恒性;不变性

经济

BNC.43460 / COCA.38318

英英释义

noun

  • the quality of being incapable of mutation
    1. Darwin challenged the fixity of species
    Synonym:immutablenessfixity

双语例句

  • In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
    在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。
  • Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
    可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。
  • Immutability means that once changes are committed to a repository, they are a permanent part of a project's historical record.
    不变性表示将更改提交到存储库之后,它们就成为项目历史记录不变的一部分。
  • This is by design, since having a DTO write back to e.g.a domain model would ( among other things) take away its immutability, and is often considered an anti-pattern.
    这需要通过设计完成,因为让DTO回写到,比方说:域模型或其他东西,就会更改它的持久性,同时人们也认为它是反模式的。
  • The president stressed once more the immutability of his country's borders.
    总统再次强调了国家的边界不可改变。
  • Package, is a good example of how to harness the power of immutability while still permitting occasional modifications.
    类是如何既利用不变性的能力,又仍允许偶尔修改的一个良好示例。
  • In the next installment, I'll talk in depth about one of functional programming's building blocks: immutability.
    在下一期文章中,我将深入介绍函数编程中的重要概念:不可变性。
  • "Essay on the Nature and Immutability of Truth, in Opposition to Sophistry and Scepticism"
    论自然和真理的不变性、反向诡辩和怀疑论
  • The final keyword was included in the Java language to assist developers in creating immutable classes, and enable compilers and runtime environments to optimize on the basis of declared immutability.
    Java语言中包括final关键字是为了帮助开发人员创建不可变类,并允许编译器和运行时环境以声明的不可变性为基础进行优化。
  • 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.
    不变性是函数式编程的关键,因为它与尽量减少变化部分的这一目标相一致,这使得对这些部分的推断更为容易一些。