Book description
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 concisely shows developers what Scala can do and how to do it. In this book, Cay 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.
Table of contents
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Foreword
- Preface
- About the Author
- 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. Type Parameters
- Chapter 18. Advanced Types
- Chapter 19. Parsing
- Chapter 20. Actors
- Chapter 21. Implicits
- Chapter 22. Delimited Continuations
- Operators
- Index
Product information
- Title: Scala for the Impatient
- Author(s):
- Release date: March 2012
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780132761772
You might also like
video
Scala for the Impatient
4+ Hours of Video Instruction Overview In Scala for the Impatient LiveLessons best-selling author and professor …
book
Scala for the Impatient, Second Edition
Interest in the Scala programming language continues to grow for many reasons. Scala embraces the functional …
book
Functional Programming in Scala
Functional Programming in Scala is a serious tutorial for programmers looking to learn FP and apply …
book
Get Programming with Scala
The perfect starting point for your journey into Scala and functional programming. In Get Programming in …