Programming in Scala (Third Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Java 或其他主流语言、希望系统学习 Scala 的开发者
- 需要理解函数式与面向对象如何融合的中高级程序员
- 使用 Spark、Akka 等 Scala 生态框架,想补足语言基础的数据工程师
- 讲授编程语言、函数式编程课程的高校教师与研究生
Not a good fit for
- 完全没有编程经验的零基础读者,入门示例的跨度偏大
- 只想学 Scala 3 新语法(given、enum、上下文抽象)的读者,本书基于 Scala 2.12
- 急需框架实战配方、希望照抄代码解决业务问题的人
Reading tips
- 第1—3章可快速通读,感受 Scala 的写法;第4—15章建议逐章跟敲示例,打牢语法与对象模型。
- 第21章隐式转换、第25章集合架构、第29章模块化编程是难点,可先读一遍留印象,实践中再回看。
- 把第35章 SCells 试算表当作综合练习,边读边运行,检验前面各章特性的串联效果。
- 若时间有限,可先读第1、6、10、12、15、16、19、21章,掌握最常用的语言骨架,其余作为参考查阅。
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- Preface
- Acknowledgments
- Introduction
- Chapter 1 A Scalable Language
- Chapter 2 First Steps in Scala
- Chapter 3 Next Steps in Scala
- Chapter 4 Classes and Objects
- Chapter 5 Basic Types and Operations
- Chapter 6 Functional Objects
- Chapter 7 Built-in Control Structures
- Chapter 8 Functions and Closures
- Chapter 9 Control Abstraction
- Chapter 10 Composition and Inheritance
- Chapter 11 Scala's Hierarchy
- Chapter 12 Traits
- Chapter 13 Packages and Imports
- Chapter 14 Assertions and Tests
- Chapter 15 Case Classes and Pattern Matching
- Chapter 16 Working with Lists
- Chapter 17 Working with Other Collections
- Chapter 18 Mutable Objects
- Chapter 19 Type Parameterization
- Chapter 20 Abstract Members
- Chapter 21 Implicit Conversions and Parameters
- Chapter 22 Implementing Lists
- Chapter 23 For Expressions Revisited
- Chapter 24 Collections in Depth
- Chapter 25 The Scala Collections Architecture
- Chapter 26 Extractors
- Chapter 27 Annotations
- Chapter 28 Working with XML
- Chapter 29 Modular Programming Using Objects
- Chapter 30 Object Equality
- Chapter 31 Combining Scala and Java
- Chapter 32 Futures and Concurrency
- Chapter 33 Combinator Parsing
- Chapter 34 GUI Programming
- Chapter 35 The SCells Spreadsheet
- Appendix A Scala Scripts on Unix and Windows
- Glossary
FAQ
这本书讲的是 Scala 2 还是 Scala 3?
零基础可以直接读这本书吗?
和《快学Scala》有什么区别?
中文版的结构和英文原版一致吗?
书里的代码示例还能直接运行吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.