Programming in ScalaProgramming in Scala is the definitive book on Scala, the new language for the Java Platform that blends object-oriented and functional programming concepts into a unique and powerful tool for developers. Coauthored by the designer of the Scala language, this authoritative book will teach you, one step at a time, the Scala language and the ideas behind it. The book is carefully crafted to help you learn. The first few chapters will give you enough of the basics that you can already start using Scala for simple tasks. The entire book is organized so that each new concept builds on concepts that came before - a series of steps that promises to help you master the Scala language and the important ideas about programming that Scala embodies. A comprehensive tutorial and reference for Scala, this book covers the entire language and important libraries. |
What people are saying - Write a review
embed code
<iframe frameborder="0" scrolling="no" style="border:0px" src="http://books.google.com.np/books?id=MFjNhTjeQKkC&lpg=PP1&pg=PA124&output=embed" width=500 height=500></iframe>book address:
http://books.google.com.np/books?id=MFjNhTjeQKkC&lpg=PP1&pg=PR31#v=onepage&q&f=true
I chose this book over others, even newer O'Reilly 2009 with Scala 2.8 references, (this book covers 2.7 only) because the authors and developers themselves give excellent examples of functional programming, the reason why Scala was developed in the first place, and thought provoking anecdotes of where Scala shines over other languages.
Contents
A Scalable Language | 3 |
First Steps in Scala | 23 |
Next Steps in Scala | 37 |
Classes and Objects | 59 |
Basic Types and Operations | 73 |
Functional Objects | 95 |
Builtin Control Structures | 115 |
Functions and Closures | 139 |
Implicit Conversions and Parameters | 437 |
Implementing Lists | 459 |
For Expressions Revisited | 473 |
Extractors | 489 |
Annotations | 505 |
Working with XML | 513 |
Modular Programming Using Objects | 527 |
Object Equality | 543 |
Control Abstraction | 161 |
Composition and Inheritance | 177 |
Scalas Hierarchy | 205 |
Traits | 213 |
Packages and Imports | 233 |
Assertions and Unit Testing | 249 |
Case Classes and Pattern Matching | 263 |
Working with Lists | 297 |
Collections | 329 |
Stateful Objects | 357 |
Type Parameterization | 381 |
Abstract Members | 407 |