Programming in Scala, Third Edition - Martin Odersky

Programming in Scala, Third Edition

Martin Odersky

出版社

Artima Press

出版时间

2016-05-10

ISBN

9780981531687

评分

★★★★★
书籍介绍

This third edition brings the entire book, up to date, adding new material to cover features appearing in Scala versions 2.9 through Scala 2.12, including:

String interpolation

Functional Futures

Implicit classes

Defining new AnyVals

Typeclasses and context bounds

The latest style recommendations

SAM support in Scala 2.12

Martin Odersky is the creator of the Scala language. He is a professor at EPFL in Lausanne, Switzerland, and a founder of Typesafe, Inc. He works on programming languages and systems, more specifically on the topic of how to combine object-oriented and functional programming. Since 2001 he has concentrated on designing, implementing, and refining Scala. Previously, he has influ...

(展开全部)

目录
What Readers are Saying ii
Contents xiii
List of Figures xxiii
List of Tables xxv
List of Listings xxvii

显示全部
用户评论
因为个人 Spark 的使用场景较多, 前段时间用 Scala 实现了一个数据处理的程序, 发现代码的确简洁不少, 写起来也很 easy -- 只是实现功能并没有传说中的那么难. 因此系统性地学习下这么语言.作者是 Scala 的创建者之一, 书中阐述了一些特性和设计的原有, 也对函数式编程中的一些概念做了详尽的解释. 读完之后, 觉得没有必要读其他 Scala 的书籍.
读过,读不下去,这玩意工程化很差
无语了,Scala的复杂性还是比我预期的还要复杂。特性虽然可以一一列举出来,但是还可以这样组合。这本还比较中规中矩,没有涉及很灵活的用法。本来以为 case class 一般是作为聚合或者ADT,结果表达能力超过了我以前认知的ADT。本来以为模版不会像C++一样复杂,结果泛型约束比Rust还多,这点可能是因为类型擦除导致的很灵活的类型转换,Scala类库都是满屏的泛型参数。本来以为隐式转换和隐式参数是为了API更灵活,可是好多类库都大量使用,导致API调用的都很晕,不过写DSL是真的方便。最后是语法糖,特别多,不全部熟悉的话根本看不懂别人的代码,而有些糖一点也不甜,也不符合人体工学。这本书虽然也不深,但是也足够难倒我了。
FP
Scala lang二刷,历时一个月多,很细致的语言Manual,从设计者的角度,系统地解答诸多对语言本身的困惑. It's time for Play & hakking!
我水平不够,看起来有点迷
期待下一版
虽然大多浅尝辄止,但是覆盖面很全,想讲的重点基本都讲清楚了。
(读第四版去了……
收藏