1·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语言的另一个关键方面,即鼓励编写具有良好并行性的代码。