Download for Windows Premium
Publicitate
mutable state

Traducere "mutable state" în chineză

Nu am putut găsi această intrare. Se afișează rezultate aproximative. Verificați ortografia sau propuneți adăugarea acestui termen în dicționar.
可变状态
可变的状态
Scala also will not prevent you from writing code with mutable state.
Scala 也不会阻止您在可变状态下编写代码。
When mutable state goes away, almost all concurrency problems go away with it.
可变状态消失时,差不多所有的并发性问题也随之消失。
advantage of this division, responsibilities clear, mutable state concentration, each field is non-locking thread-safe, guaranteed under the big concurrency, does not reduce the activity of the system.
这样划分的好处是,职责清晰,可变状态集中,每个域都是无锁线程安全的,保证在大并发下,不会降低系统的活性。
In general, functional languages, particularly those considered "pure" functional languages (and thus permitting no side effects, such as mutable state) have only supported the val concept; but Scala, in its mandate to be attractive to both functional and imperative/object programmers, offers both.
通常,函数语言,特别是被认为是 "纯" 函数语言(不允许带有副作用,比如可变状态)的那些函数语言,只支持 val 概念;但是,因为 Scala 要同时吸引函数编程人员和命令/对象编程人员,所以这二种结构它都提供。
Performance bottlenecks - caused by incorrect API usage, redundant synchronization, and unnecessary use of shared mutable state.
性能瓶颈 - 由于不正确的API使用,多余的同步,以及使用不必要的共享可变状态引起。
Using either while or mutable state sacrifices a key aspect of the Scala language, however, which is the encouragement to write code that parallelizes well.
但是,使用 while 或可变状态意味着牺牲 Scala 语言的另一个关键方面,即鼓励编写具有良好并行性的代码。
In short, I've refactored the while loop's mutable state entirely into the parameters passed to the various invocations of sort() - which many Scala aficionados would say is the proper way to write Scala code.
简言之,我已经将 while 循环的可变状态完全再次分解为传递给各种 sort ( ) 调用的参数 - 许多 Scala 狂热爱好者认为这是编写 Scala 代码的正确方式。
When heated, it becomes vaporous steam - comparable to the mutable state in astrology.
加热后,水变成了水蒸气 - 这可以比作占星学中的易变星座。
Erlang doesn't have mutable state, and this is a dramatically different decision then the majority of popular languages used by nix professionals.
Erlang没有可变的状态,这是它与 *nix专业人员使用的大多数流行语言的重要差异。
This is particularly true in more or less purely object-oriented languages (such as the Java language) because the primary abstractions are hierarchy and mutable state.
对于纯面向对象语言(例如 Java 语言)来说,这一点尤为明显,因为主要的抽象就是分层和易变状态。
Prefer immutable data objects over mutable state - In a highly concurrent environment, mutable state can be dangerous.
与可变的状态相比,我们更喜欢不变的数据对象 - 在一个高并发的环境中,可变状态是非常危险的。
The reason is quite simple: in addition to val making it easier to reason about a program's thread-safety, it is an underlying theme in Scala that developers do not need mutable state nearly as often as we think we do.
原因很简单:除了使编程更容易之外,val 还能确保程序的线程安全性,Scala 中的一个内在主题是:几乎每次认为需要可变状态时,其实都不需要可变状态。
Nici un rezultat pentru acest sens.
Treci la Premium pentru a debloca milioane de exemple de traduceri, a salva și învăța vocabular nelimitat, fără reclame.

Sinonime și analogii pentru "mutable state" în limba Română

Cuvântul și expresia zilei
Imaginea zilei
chest: box with a flat top and a storage space inside
Află cuvântul
Publicitate

Rezultate: 12. Exacte: 12. Timp de răspuns: 11 ms.