Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
Also available in other formats.
This is the Rough Cut version of the printed book.
Scala is a modern programming language for the Java Virtual Machine (JVM) that combines the best features of object-oriented and functional programming languages. Using Scala, you can write programs more concisely than in Java, as well as leverage the full power of concurrency. Since Scala runs on the JVM, it can access any Java library and is interoperable with Java frameworks.
Scala for the Impatient, Second Edition, concisely shows developers what Scala can do and how to do it. In this book, Cay S. Horstmann, the principal author of the international best-selling Core Java®, offers a rapid, code-based introduction that’s completely practical. Horstmann introduces Scala concepts and techniques in “blog-sized” chunks that you can quickly master and apply. Hands-on activities guide you through well-defined stages of competency, from basic to expert. Coverage includes:
Scala is rapidly reaching a tipping point that will reshape the experience of programming. This book will help object-oriented programmers build on their existing skills, allowing them to immediately construct useful applications as they gradually master advanced programming techniques.
Chapter 1: The Basics
Chapter 2: Control Structures and Functions
Chapter 3: Working with Arrays
Chapter 4: Maps and Tuples
Chapter 5: Classes
Chapter 6: Objects
Chapter 7: Packages and Imports
Chapter 8: Inheritance
Chapter 9: Files and Regular Expressions
Chapter 10: Traits
Chapter 11: Operators
Chapter 12: Higher-Order Functions
Chapter 13: Collections
Chapter 14: Pattern Matching and Case Classes
Chapter 15: Annotations
Chapter 16: XML Processing
Chapter 17: Futures
Chapter 18: Type Parameters
Chapter 19: Advanced Types
Chapter 20: Parsing
Chapter 21: Implicits