Scala for the Impatient By Cay S. Horstmann
2012 | 388 Pages | ISBN: 0321774094 | PDF | 13 MB
2012 | 388 Pages | ISBN: 0321774094 | PDF | 13 MB
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 includesGetting started quickly with Scala’s interpreter, syntax, tools, and unique idiomsMastering core language features: functions, arrays, maps, tuples, packages, imports, exception handling, and moreBecoming familiar with object-oriented programming in Scala: classes, inheritance, and traitsUsing Scala for real-world programming tasks: working with files, regular expressions, and XMLWorking with higher-order functions and the powerful Scala collections libraryLeveraging Scala’s powerful pattern matching and case classesCreating concurrent programs with Scala actorsImplementing domain-specific languagesUnderstanding the Scala type systemApplying advanced “power tools” such as annotations, implicits, and delimited continuationsScala 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.