Programming in Scala, Third Edition

书名:Programming in Scala, Third EditionAcomprehensivestep-by-stepguide
豆瓣评分: 9.4


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 influenced the development of Java as a co-designer of Java generics and as the original author of the current javac reference compiler. He is a fellow of the ACM.

Lex Spoon is a software engineer at Semmle, Ltd. He worked on Scala for two years as a post-doc at EPFL. He has a Ph.D. from Georgia Tech, where he worked on static analysis of dynamic languages. In addition to Scala, he has helped develop a wide variety of programming languages, including the dynamic language Smalltalk, the scientific language X10, and the logic language that powers Semmle. He and his wife live in Atlanta with two cats and a chihuahua.

Bill Venners is president of Artima, Inc., publisher of the Artima Developer website (, and cofounder of Escalate Software, LLC. He is author of the book, Inside the Java Virtual Machine, a programmer-oriented survey of the Java platform's architecture and internals. His popular columns in JavaWorld magazine covered Java internals, object-oriented design, and Jini. Active in the Jini Community since its inception, Bill led the Jini Community's ServiceUI project, whose ServiceUI API became the de facto standard way to associate user interfaces to Jini services. Bill is also the lead developer and designer of the ScalaTest testing framework and the Scalactic library for functional, object-oriented programming. testing tool for Scala and Java developers.


@ 你的僵尸豆友42 (读第四版去了…… @ lambda 可惜没讲akka @ 流年闲草 Scala lang二刷,历时一个月多,很细致的语言Manual,从设计者的角度,系统地解答诸多对语言本身的困惑. It's time for Play & hakking! @ [已注销] programming in scala 3rd的电子版,具体参见: @ djFFFFF 第一次接触函数式编程,我理解pattern matching就是一种稍微优雅一点的写if else的方式? @ ò.⒏㈢ ㄧ° 虽然大多浅尝辄止,但是覆盖面很全,想讲的重点基本都讲清楚了。 @ 你的僵尸豆友42 (读第四版去了…… @ 拾一 Scala是一门非常自洽处处和谐的一门语言,作者的巧思在语言的设计之中无处不在。相比之下,Java 真的只是蓝领工人的编程工具而已。 @ djFFFFF 第一次接触函数式编程,我理解pattern matching就是一种稍微优雅一点的写if else的方式? @ tiankonghewo 这本书读了3遍了,还在读,是难得一见的语言有味道的书,顺带把java也学习了,看完这本书就非常想了解jvm

What Readers are Saying ii
Contents xiii
List of Figures xxiii
List of Tables xxv
List of Listings xxvii
Foreword xxxv
Acknowledgments xxxvii
Introduction xli
1. A Scalable Language 3
2. First Steps in Scala 23
3. Next Steps in Scala 37
4. Classes and Objects 59
5. Basic Types and Operations 73
6. Functional Objects 97
7. Built-in Control Structures 117
8. Functions and Closures 143
9. Control Abstraction 167
10. Composition and Inheritance 183
11. Scala's Hierarchy 211
12. Traits 223
13. Packages and Imports 243
14. Assertions and Tests 261
15. Case Classes and Pattern Matching 273
16. Working with Lists 307
17. Working with Other Collections 341
18. Mutable Objects 363
19. Type Parameterization 387
20. Abstract Members 413
21. Implicit Conversions and Parameters 445
22. Implementing Lists 471
23. For Expressions Revisited 485
24. Collections in Depth 501
25. The Architecture of Scala Collections 571
26. Extractors 595
27. Annotations 611
28. Working with XML 619
29. Modular Programming Using Objects 633
30. Object Equality 649
31. Combining Scala and Java 673
32. Futures and Concurrency 689
33. Combinator Parsing 711
34. GUI Programming 741
35. The SCells Spreadsheet 753
A. Scala Scripts on Unix and Windows 779
Glossary 781
Bibliography 797
About the Authors 801
Index 803
· · · · · ·


添加微信公众号:“好书天下”获取书籍好书天下 » Programming in Scala, Third Edition
分享到: 更多 (0)

评论 抢沙发