作者:MartinOdersky/LexSpoon/BillVenners
出版社:ArtimaPress
副标题:Acomprehensivestep-by-stepguide
出版年:2016-5-10
页数:837
定价:USD54.95
装帧:Paperback
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 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 (www.artima.com), 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.
目录
······
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
评论 ······
Scala是一门非常自洽处处和谐的一门语言,作者的巧思在语言的设计之中无处不在。相比之下,Java 真的只是蓝领工人的编程工具而已。
(读第四版去了……
Scala lang二刷,历时一个月多,很细致的语言Manual,从设计者的角度,系统地解答诸多对语言本身的困惑. It's time for Play & hakking!
FP
评论前必须登录!
注册