immutable objects的意思
immutable objects中文翻譯:
不可變對象
相似詞語短語
immovable object───不動產
immutableness───不變性
cognate objects───同根賓語;同源賓語
immutable law───不變律
retained objects───n.保留賓語
BL Lac objects───BL Lac對象
cognate object───同根賓語;同源賓語
commutableness───交換性
direct objects───n.直接賓語;直接客體
雙語使用場景
Many people are betting on functional programming, with its emphasis on immutable objects and their inherently thread-safe properties.───很多人現在都投身于函數式編程的世界,由于它們具有不可變的對象,以及與生俱來的線程安全屬性。
of the power of Scala is that it encourages developers to create immutable objects by default.───Scala的一個強大之處就在于,它鼓勵開發人員以默認方式創建不可改變的對象。
Anders Janmyr has a good overview of the new features including the ability to support non-extensible and immutable objects.───Anders Janmyr出色地概述了新功能,包括支持非擴展性和不可變對象的能力。
There can be no side effects on immutable objects, and caching a reference to an immutable object is always safe from alias problems.───不可變對象上沒有副作用,并且緩存不可變對象的引用總是安全的,不會出現別名問題。
Part of the power of Scala is that it encourages developers to create immutable objects by default.───Scala的一個強大之處就在于,它鼓勵開發人員以默認方式創建不可改變的對象。
Immutable objects are much easier to work with than mutable objects.───使用不變對象比使用可變對象要容易得多。
Be primitive types or references to immutable objects.───必須是原語類型或是對不可變對象的引用。
A limitation for both languages is that they still don't have any facilities for immutable objects.───兩種語言的局限在于它們仍沒有任何針對不可變對象的工具。
英語使用場景
One of the most surprising failings of the JMM is that immutable objects, whose immutability was intended to be guaranteed through use of the final keyword, could appear to change their value.
In " To mutate, or not to mutate" (and others), I extolled the virtues of immutability -- immutable objects cannot get into an inconsistent state.