etc. Payne and Wampler do point out a lot of the new features where they were known ahead of time and, as I recall, nothing they wrote changed in such a significant way to make what they said inapplicable.
Apart from the discussion of Programming Scala (Payne and Wampler), the first edition of Programming in Scala (Odersky, Spoon, Venners) was excellent, and I'm sure the second edition, which came out recently and covers 2.8, is even better. (Also available for significantly less from Amazon, although AFAICT you don't have the option of getting the PDF that way.)
发布评论
评论(2)
是的。它们不涵盖一些最新的材料,但在这些情况下,有许多很好的在线文章,例如:
佩恩和万普勒确实指出了许多他们提前知道的新功能,而且据我记得,他们所写的任何内容都没有以如此重大的方式改变,使他们所说的不适用。
更新:
正如评论中所询问的,演员和解析器组合器库也有一些变化。 Actor 库现在包含 Reactor 特征(此处讨论 http://www.scala-lang.org/ node/2041),解析器组合器库现在包含 Packrat 解析器实现。这里有一个相当完整的(据我所知)2.8 中的更改列表:http://sites.google.com/site/scalatohoku/changes-and-improvements-on-scala-2-8
Yes. They don't cover some of the newest material, but in those cases there are many good online writeups, such as:
etc. Payne and Wampler do point out a lot of the new features where they were known ahead of time and, as I recall, nothing they wrote changed in such a significant way to make what they said inapplicable.
UPDATE:
As asked in the comments, the actor and parser combinator libraries also had some changes. The actor library now includes the Reactor trait (discussed here http://www.scala-lang.org/node/2041) and the parser combinator library now includes a packrat parser implementation. There is a fairly complete (as far as I know) list of the changes in 2.8 here: http://sites.google.com/site/scalatohoku/changes-and-improvements-on-scala-2-8
除了对 Scala 编程(Payne 和 Wampler)的讨论之外,Scala 编程第一版(Odersky、Spoon、Venners)也非常出色,而且我确信最近发布的涵盖 2.8 的第二版甚至是更好的。 (也可以以更少的价格来自亚马逊,尽管 AFAICT 您没有以这种方式获取 PDF 的选项。)
Apart from the discussion of Programming Scala (Payne and Wampler), the first edition of Programming in Scala (Odersky, Spoon, Venners) was excellent, and I'm sure the second edition, which came out recently and covers 2.8, is even better. (Also available for significantly less from Amazon, although AFAICT you don't have the option of getting the PDF that way.)