Programming in Scala, Second Edition
Год: 2010
Автор: Martin Odersky, Lex Spoon, Bill Venners
Жанр: Учебное пособие
Издательство: Artima
ISBN: 0-9815316-4-4
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Количество страниц: 883
Описание: This book is a tutorial for the Scala programming language, written by people directly involved in the development of Scala. Our goal is that by reading this book, you can learn everything you need to be a productive Scala programmer. All examples in this book compile with Scala version 2.8.1.
The main target audience for this book is programmers who want to learn to program in Scala. If you want to do your next software project in Scala, then this is the book for you. In addition, the book should be interesting to programmers wishing to expand their horizons by learning new concepts. If you're a Java programmer, for example, reading this book will expose you to many concepts from functional programming as well as advanced object-oriented ideas. We believe lBirning about Scala, and the ideas behind it, can help you become a belter programmer in general.
General programming knowledge is assumed. While Scala is a fine first programming language, this is not the book to use to learn programming.
On the other hand, no specific knowledge of programming languages is required. Even though most people use Scala on the Java platform, this book does not presume you know anything about Java. However, we expect many readers to be familiar with Java, and so we sometimes compare Scala to Java to help such readers understand the differences.
Scala — мультипарадигменный язык программирования, спроектированный кратким и типобезопасным для простого и быстрого программирования. В нем органично сочетаются возможности функционального и объектно ориентированного программирования. Основной целью разработки был язык, обладающий хорошей поддержкой компонентного ПО. Scala была выпущена для общего пользования на платформе JVM в январе 2004 года и на платформе .NET в июне 2004 года.
Оглавление
Introduction
A Scalable Language
First Steps in Scala
Next Steps in Scala
Classes and Objects
Basic Types and Operations
Functional Objects
Built-in Control Structures
Functions and Closures
Control Abstraction
Composition and Inheritance
Scala's Hierarchy
Traits
Packages and Imports
Assertions and Unit Testing
Case Classes and Pattern Matching
Working with Lists
Collections
Stateful Objects
Type Parameterization
Abstract Members
Implicit Conversions and Parameters
Implementing Lists
For Expressions Revisited
The Scala Collections API
The Architecture of Scala Collections
Extractors
Annotations
Working with XML
Modular Programming Using Objects
Object Equality
Combining Scala and Java
Actors and Concurrency
Combinator Parsing
GUI Programming
The SCells Spreadsheet
Scala Scripts on Unix and Windows
Glossary
Bibliography
About the Authors
Index
Какой программой открыть книгу?
Опубликовано группой