immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- Location independence and the guarantee of immutability of LSIDs make them perfect candidates for database cross-references.
LSID的位置独立性和不变性的保证使其成为数据库交叉引用的极佳候选。 - Similar moral value exists for its particularity and contemporaneity as well as its universality and immutability.
类道德价值既有其存在的特殊性和时代性,也有其存在的普遍性和永恒性。 - In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。 - Python also has a concept of mutability and immutability: a tuple, for example, is an immutable list.
Python同时使用可变性和不变性的概念:举例来说,tuple就是一个不可变的列表。 - By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。 - "Essay on the Nature and Immutability of Truth, in Opposition to Sophistry and Scepticism"
论自然和真理的不变性、反向诡辩和怀疑论 - 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的实例,从而简化了程序的逻辑。 - Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。 - That ends it alignment graphics, convey will converge on art design cycle rotation of immutability.
重圆连珠图形,在艺术设计上传达着融会贯通周而复始旋转的永恒性。 - Package, is a good example of how to harness the power of immutability while still permitting occasional modifications.
类是如何既利用不变性的能力,又仍允许偶尔修改的一个良好示例。
