八八字典>英语词典>immutability翻译和用法

immutability

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

经济

BNC.43460 / COCA.38318

英英释义

noun

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

双语例句

  • Immutability means that once changes are committed to a repository, they are a permanent part of a project's historical record.
    不变性表示将更改提交到存储库之后,它们就成为项目历史记录不变的一部分。
  • 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 confers a number of benefits, the chief one being that Rope instances can be shared without precaution in a multithreaded environment, thereby greatly simplifying program logic.
    不可修改有许多好处,第一条好处就是不用考虑多线程环境就能共享Rope的实例,从而简化了程序的逻辑。
  • Embracing immutability is high on the list of ways to think like a functional programmer.
    在像函数式编程者那样思考的方法列表中,维护不变性处于列表的较高位置。
  • 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关键字是为了帮助开发人员创建不可变类,并允许编译器和运行时环境以声明的不可变性为基础进行优化。
  • 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回写到,比方说:域模型或其他东西,就会更改它的持久性,同时人们也认为它是反模式的。
  • Farmers all over the world know the importance and immutability of the seasons.
    全世界的农民们都明白季节的重要性和永恒性。
  • Immutability also allows us to simplify reasoning about concurrency and provide cheap reads of shared data.
    不可变性还允许我们简化有关并发性的推理,并提供读取共享数据的低成本方法。
  • In this installment, I discuss one of the building blocks of functional programming: immutability.
    在这一部分中,我讨论的是函数式编程的基石之一:不变性。
  • Location independence and the guarantee of immutability of LSIDs make them perfect candidates for database cross-references.
    LSID的位置独立性和不变性的保证使其成为数据库交叉引用的极佳候选。