immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- That ends it alignment graphics, convey will converge on art design cycle rotation of immutability.
重圆连珠图形,在艺术设计上传达着融会贯通周而复始旋转的永恒性。 - Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。 - In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。 - "Essay on the Nature and Immutability of Truth, in Opposition to Sophistry and Scepticism"
论自然和真理的不变性、反向诡辩和怀疑论 - By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。 - Immutability also allows us to simplify reasoning about concurrency and provide cheap reads of shared data.
不可变性还允许我们简化有关并发性的推理,并提供读取共享数据的低成本方法。 - In the next installment, I'll talk in depth about one of functional programming's building blocks: immutability.
在下一期文章中,我将深入介绍函数编程中的重要概念:不可变性。 - Because Java is optimized for manipulating state, you have to work around some of those mechanisms to gain the benefits of immutability.
因为Java已针对操纵状态进行了优化,因此您不得不绕过这样的一些机制来获得的不变性的一些好处。 - 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的实例,从而简化了程序的逻辑。 - 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.
不变性是函数式编程的关键,因为它与尽量减少变化部分的这一目标相一致,这使得对这些部分的推断更为容易一些。
