您好,欢迎来到聚文网。 登录 免费注册
Scala编程

Scala编程

  • 字数: 720.00千字
  • 装帧: 平装
  • 出版社: 东南大学出版社
  • 作者: (美)万普勒(Dean Wampler),(美)佩恩(Alex Payne) 著
  • 出版日期: 2015-08-01
  • 商品条码: 9787564159221
  • 版次: 1
  • 开本: 16开
  • 页数: 554
  • 出版年份: 2015
定价:¥88 销售价:登录后查看价格  ¥{{selectedSku?.salePrice}} 
库存: {{selectedSku?.stock}} 库存充足
{{item.title}}:
{{its.name}}
精选
内容简介
本书全面地介绍Scala这种针对JVM的编程语言,它集成了现代对象模型、函数式编程和优选类型系统的所有优势。本书通过代码示例,向你展示如何即刻高效地利用该语言和生态系统,同时解释为何Scala是开发高可扩展、以数据为中心的应用程序的理想语言。
作者简介
万普勒,是一位TypeSafe的大数据架构师。他在Typesafe公司利用Scala、函数式编程、spark、Hadoop以及Akka构建以数据为中心的工具和服务。Dean是《Functional Programming for Java Developers》一书的作者以及《Programming Hive》一书的合著者。
目录
Foreword
Preface
1. Zero to Sixty: Introducing Scala
Why Scala?
The Seductions of Scala
What About Java 8?
Installing Scala
Using SBT
Running the Scala Command-Line Tools
Running the Scala REPL in IDEs
A Taste of Scala
A Taste of Concurrency
Recap and What's Next
2. Type Less, Do More
Semicolons
Variable Declarations
Ranges
Partial Functions
Method Declarations
Method Default and Named Arguments
Methods with Multiple Argument Lists
A Taste of Futures
Nesting Method Definitions and Recursion
Inferring Type Information
Reserved Words
Literal Values
Integer Literals
Floating-Point Literals
Boolean Literals
Character Literals
String Literals
Symbol Literals
Function Literals
Tuple Literals
Option, Some, and None: Avoiding nulls
Sealed Class Hierarchies
Organizing Code in Files and Namespaces
Importing Types and Their Members
Imports Are Relative
Package Objects
Abstract Types Versus Parameterized Types
Recap and What's Next
3. Rounding 0ut the Basics
Operator Overloading?
Syntactic Sugar
Methods with Empty Argument Lists
Precedence Rules
Domain-Specific Languages
Scala if Statements
Scala for Comprehensions
for Loops
Generator Expressions
Guards: Filtering Values
Yielding
Expanded Scope and Value Definitions
Other Looping Constructs
Scala while Loops
Scala do-while Loops
Conditional Operators
Using try, catch, and finally Clauses
Call by Name, Call by Value
lazy val
Enumerations
Interpolated Strings
Traits: Interfaces and "Mixins" in Scala
Recap and What's Next
4. Pattern Matching
5. Implicits
6. Functional Programming in Scala
7. for Comprehensions in Depth
8. Object-Oriented Programming in Scala
9. Traits
10. The Scala Object System, Part Ⅰ
11. The Scala Object System, Part Ⅱ
12. The Scala Collections Library
13. Visibility Rules
14. Scala's Type System, Part Ⅰ
15. Scala's Type System, Part Ⅱ
16. Advanced Functional Programming
17. Tools for Concurrency
18. Scala for Big Data
19. Dynamic Invocation in Scala
20. Domain-Specific Languages in Scala
21. Scala Tools and Libraries
22. Java Interoperability
23. Application Design
24. Metaprogramming: Macros and Reflection
A. References
Index

蜀ICP备2024047804号

Copyright 版权所有 © jvwen.com 聚文网