immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- "Essay on the Nature and Immutability of Truth, in Opposition to Sophistry and Scepticism"
论自然和真理的不变性、反向诡辩和怀疑论 - Python also has a concept of mutability and immutability: a tuple, for example, is an immutable list.
Python同时使用可变性和不变性的概念:举例来说,tuple就是一个不可变的列表。 - Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。 - Similar moral value exists for its particularity and contemporaneity as well as its universality and immutability.
类道德价值既有其存在的特殊性和时代性,也有其存在的普遍性和永恒性。 - 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的实例,从而简化了程序的逻辑。 - Location independence and the guarantee of immutability of LSIDs make them perfect candidates for database cross-references.
LSID的位置独立性和不变性的保证使其成为数据库交叉引用的极佳候选。 - Immutability also allows us to simplify reasoning about concurrency and provide cheap reads of shared data.
不可变性还允许我们简化有关并发性的推理,并提供读取共享数据的低成本方法。 - Embracing immutability is high on the list of ways to think like a functional programmer.
在像函数式编程者那样思考的方法列表中,维护不变性处于列表的较高位置。 - Failed to get the activity model immutability.
无法获得活动模型永久性。 - In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。
