深入理解Scala编程:权威指南

需积分: 9 11 下载量 30 浏览量 更新于2024-07-20 收藏 7.28MB PDF 举报
"Scala.in.Depth" 是一本由 Martin Odersky 所著,并由 Joshua D. Suereth 编写的深入探讨 Scala 语言的专业书籍。本书在 2012 年 5 月首次出版,由 Manning Publications Co. 出版。Martin Odersky 是 Scala 的主要开发者之一,他的序言无疑为读者提供了对 Scala 这种强大而灵活的多范式编程语言的权威见解。 Scala 是一种结合了面向对象编程(Object-Oriented Programming, OOP)和函数式编程(Functional Programming, FP)的编程语言,旨在提供更高效、简洁和可维护的代码。它支持并发编程,通过特质(Traits)、模式匹配(Pattern Matching)和类型推断(Type Inference)等特点,使得代码更加模块化和灵活。 本书的 "In Depth" 系列意味着作者将深入剖析 Scala 的各个方面,包括其基础概念如类(Classes)、对象(Objects)、trait、lambda 表达式,以及高级特性如模式匹配、隐式参数(Implicit Parameters)和可选参数(Default Arguments)。此外,书中还会涵盖 Scala 的类型系统(Type System),以及如何在 Scala 中处理并发和并行计算。 作为一本技术书籍,"Scala.in.Depth" 不仅提供了理论知识,还可能包含了大量的示例代码和实战练习,帮助读者逐步掌握 Scala 的核心技能,并理解如何在实际项目中应用。同时,由于提及了折扣购买信息,可以推测这本书可能适合对 Scala 感兴趣的学习者、开发者和团队,尤其是那些希望通过深入学习来提升编程效率和代码质量的人群。 最后,版权和复制声明强调了尊重知识产权的重要性,确保未经许可不得复制或传播书中的内容,体现了出版行业的规范和尊重作者劳动成果的原则。"Scala.in.Depth" 是一本值得 Scala 爱好者深入研读的经典之作,提供了丰富的学习资源和实践指导。
2014-07-26 上传
Summary Scala in Depth is a unique new book designed to help you integrate Scala effectively into your development process. By presenting the emerging best practices and designs from the Scala community, it guides you through dozens of powerful techniques example by example. About the Book Scala is a powerful JVM language that blends the functional and OO programming models. You'll have no trouble getting introductions to Scala in books or online, but it's hard to find great examples and insights from experienced practitioners. You'll find them in Scala in Depth. There's little heavy-handed theory here—just dozens of crisp, practical techniques for coding in Scala. Written for readers who know Java, Scala, or another OO language. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Concise, expressive, and readable code style How to integrate Scala into your existing Java projects Scala's 2.8.0 collections API How to use actors for concurrent programming Mastering the Scala type system Scala's OO features—type member inheritance, multiple inheritance, and composition Functional concepts and patterns—immutability, applicative functors, and monads ========================================​========== Table of Contents Scala—a blended language The core rules Modicum of style—coding conventions Utilizing object orientation Using implicits to write expressive code The type system Using implicits and types together Using the right collection Actors Integrating Scala with Java Patterns in functional programming