注重体验与质量的电子书资源下载网站
分类于: 编程语言 其它
简介
Programming in Scala, Third Edition: A comprehensive step-by-step guide 豆 9.4分
资源最后更新于 2020-08-23 08:23:56
作者:Martin Odersky
出版社:Artima Press
出版日期:2016-01
ISBN:9780981531687
文件格式: pdf
标签: Scala 编程 计算机 函数式编程 程序设计 programming 计算机科学 软件开发
简介· · · · · ·
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
目录
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
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