词语吧>英语词典>immutability翻译和用法

immutability

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

经济

BNC.43460 / COCA.38318

英英释义

noun

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

双语例句

  • Embracing immutability is high on the list of ways to think like a functional programmer.
    在像函数式编程者那样思考的方法列表中,维护不变性处于列表的较高位置。
  • Python also has a concept of mutability and immutability: a tuple, for example, is an immutable list.
    Python同时使用可变性和不变性的概念:举例来说,tuple就是一个不可变的列表。
  • Package, is a good example of how to harness the power of immutability while still permitting occasional modifications.
    类是如何既利用不变性的能力,又仍允许偶尔修改的一个良好示例。
  • Use magnetic torque type capping heads, automatic grasping cover, screw cap, immutability torque capping function.
    采用磁力扭矩式封盖头,自动抓盖、拧盖,有恒力矩封盖功能。
  • Immutability also allows us to simplify reasoning about concurrency and provide cheap reads of shared data.
    不可变性还允许我们简化有关并发性的推理,并提供读取共享数据的低成本方法。
  • Similar moral value exists for its particularity and contemporaneity as well as its universality and immutability.
    类道德价值既有其存在的特殊性和时代性,也有其存在的普遍性和永恒性。
  • 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回写到,比方说:域模型或其他东西,就会更改它的持久性,同时人们也认为它是反模式的。
  • In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
    在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。
  • Location independence and the guarantee of immutability of LSIDs make them perfect candidates for database cross-references.
    LSID的位置独立性和不变性的保证使其成为数据库交叉引用的极佳候选。
  • By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
    通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。