登录 注册
当前位置:主页 > 资源下载 > 9 > Learning.Scala.Practical.Functional.Programming.for.the.JVM下载

Learning.Scala.Practical.Functional.Programming.for.the.JVM下载

  • 更新:2024-07-16 19:20:32
  • 大小:1.56MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:其它 - 开发技术
  • 格式:PDF

资源介绍

Why learn Scala? You don’t need to be a data scientist or distributed computing expert to appreciate this object-oriented functional programming language. This practical book provides a comprehensive yet approachable introduction to the language, complete with syntax diagrams, examples, and exercises. You’ll start with Scala's core types and syntax before diving into higher-order functions and immutable data structures. Author Jason Swartz demonstrates why Scala’s concise and expressive syntax make it an ideal language for Ruby or Python developers who want to improve their craft, while its type safety and performance ensures that it’s stable and fast enough for any application. Learn about the core data types, literals, values, and variables Discover how to think and write in expressions, the foundation for Scala's syntax Write higher-order functions that accept or return other functions Become familiar with immutable data structures and easily transform them with type-safe and declarative operations Create custom infix operators to simplify existing operations or even to start your own domain-specific language Build classes that compose one or more traits for full reusability, or create new functionality by mixing them in at instantiation Table of Contents Part I. Core Scala Chapter 1. Getting Started With The Scalable Language Chapter 2. Working With Data: Literals, Values, Variables, and Types Chapter 3. Expressions and Conditionals Chapter 4. Functions Chapter 5. First Class Functions Chapter 6. Common Collections Chapter 7. More Collections Part II. Object-Oriented Scala Chapter 8. Classes Chapter 9. Objects, Case Classes and Traits Chapter 10. Advanced Typing Appendix A. Reserved Words