Programming 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, on
Programming in Scala: A comprehensive step-by-step guide
β Scribed by Martin Odersky, Lex Spoon, Bill Venners
- Publisher
- Artima Press
- Year
- 2016
- Tongue
- English
- Leaves
- 859
- Edition
- 3
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
This book is the authoritative tutorial on the Scala programming language, co-written by the language's designer, Martin Odersky. This third edition has been updated to cover new features up to and including Scala version 2.12, such as:
String interpolation
Futures and concurrency, including new methods added in 2.12 and asynchronous testing with Futures in ScalaTest 3.0
Wildcard types
New recommendations for writing hashCode
The close integration of Scala 2.12 and Java 8, most significantly the new ability to use function literals to express instances of SAM types
The latest recommendations for Scala coding style
Implicit classes
Creating your own AnyVals
The context bounds syntax for type classes
The much anticipated third edition of Programming in Scala is now available! This book is the authoritative tutorial on the Scala programming language, co-written by the language's designer Martin Odersky.
The Scala language, which blends object-oriented and functional programming concepts, has been exploding in popularity in recent years. This book is a comprehensive, step-by-step guide to learning Scala. If you're a programmer wanting to do your next software project in Scala, looking to expand your horizons by learning new concepts, or currently using Java and want to expand your knowledge of functional programmingβor all of the aboveβthen this book is for you.
β¦ Table of Contents
What Readers are Saying ii
Contents xiii
List of Figures xxiii
List of Tables xxv
List of Listings xxvii
Foreword xxxv
Acknowledgments xxxvii
Introduction xli
1. A Scalable Language 3
2. First Steps in Scala 23
3. Next Steps in Scala 37
4. Classes and Objects 59
5. Basic Types and Operations 73
6. Functional Objects 97
7. Built-in Control Structures 117
8. Functions and Closures 143
9. Control Abstraction 167
10. Composition and Inheritance 183
11. Scala's Hierarchy 211
12. Traits 223
13. Packages and Imports 243
14. Assertions and Tests 261
15. Case Classes and Pattern Matching 273
16. Working with Lists 307
17. Working with Other Collections 341
18. Mutable Objects 363
19. Type Parameterization 387
20. Abstract Members 413
21. Implicit Conversions and Parameters 445
22. Implementing Lists 471
23. For Expressions Revisited 485
24. Collections in Depth 501
25. The Architecture of Scala Collections 571
26. Extractors 595
27. Annotations 611
28. Working with XML 619
29. Modular Programming Using Objects 633
30. Object Equality 649
31. Combining Scala and Java 673
32. Futures and Concurrency 689
33. Combinator Parsing 711
34. GUI Programming 741
35. The SCells Spreadsheet 753
A. Scala Scripts on Unix and Windows 779
Glossary 781
Bibliography 797
About the Authors 801
Index 803
β¦ Subjects
scala programming
π SIMILAR VOLUMES
Scala is an object-oriented programming language for the Java Virtual Machine. In addition to being object-oriented, Scala is also a functional language, and combines the best approaches to OO and functional programming. <br>In Italian, Scala means a stairway, or steps. Indeed, Scala lets you step u
Scala is an object-oriented programming language for the Java Virtual Machine. In addition to being object-oriented, Scala is also a functional language, and combines the best approaches to OO and functional programming. In Italian, Scala means a stairway, or steps indeed, Scala lets you step up to
Scala is an object-oriented programming language for the Java VirtualMachine. In addition to being object-oriented, Scala is also afunctional language, and combines the best approaches to OO andfunctional programming.<br /><br />In Italian, Scala means a stairway, or steps. Indeed, Scala lets you st