-
295 votesanswersviews
Scala和括号之间Scala的形式差异是什么,何时应该使用它们?
将参数传递给括号 () 中的函数和大括号 {} 之间的正式区别是什么? 我从Programming in Scala书中得到的感觉是斯卡拉's pretty flexible and I should use the one I like best, but I find that some cases compile while others don' t . 例如(仅作为一个例子;我会感谢讨论...