Home > Store

Scala for the Impatient,Rough Cuts, 2nd Edition

Scala for the Impatient,Rough Cuts, 2nd Edition

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • 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.

Description

  • Copyright 2017
  • Dimensions: 7" x 9-1/8"
  • Pages: 384
  • Edition: 2nd
  • Rough Cuts
  • ISBN-10: 0-13-468237-8
  • ISBN-13: 978-0-13-468237-2

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:

  • Getting started quickly with Scala’s interpreter, syntax, tools, and unique idioms
  • Mastering core language features: functions, arrays, maps, tuples, packages, imports, exception handling, and more
  • Becoming familiar with object-oriented programming in Scala: classes, inheritance, and traits
  • Using Scala for real-world programming tasks: working with files, regular expressions, and XML
  • Working with higher-order functions and the powerful Scala collections library
  • Leveraging Scala’s powerful pattern matching and case classes
  • Creating concurrent programs with Scala actors
  • Implementing domain-specific languages
  • Understanding the Scala type system
  • Applying advanced “power tools” such as annotations, implicits, and delimited continuations 

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.

Sample Content

Table of Contents

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

Updates

Submit Errata

More Information