Concurrency Oriented Programming and Side Effects
2008年08月18日 22:32 • 查看 5 次 • 打印本文
In my last post on Scala actors, I had mentioned about the actor code being side-effect-free and referentially transparent. James Iry correctly pointed out that Scala react is side-effected, since the partial function that it takes processes a message which is neither a parameter to react nor a value in the lexical scope.
评论
发表评论