Our is relocating towards useful programming, yet your object-oriented adventure continues to be priceless. Scala combines the ability of OO and useful programming, and Pragmatic Scala exhibits you the way to paintings successfully with either. up to date to Scala 2.11, with in-depth assurance of recent good points similar to Akka actors, parallel collections, and tail name optimization, this booklet will enable you create stellar applications.
This thorough advent to Scala gets you coding during this strong language straight away. you will commence from the universal flooring of Java and, with easy-to-follow examples, you will tips on how to create hugely concise and expressive purposes with Scala. you will discover out whilst and the way to combine either central and sensible variety, and the way to exploit parallel collections and Akka actors to create high-performance concurrent functions that successfully use multicore processors.
Scala has developed because the first variation of this publication, and Pragmatic Scala is an important replace. we have now revised each one bankruptcy, and extra 3 new chapters and 6 new sections to discover the hot positive aspects in Scala. you are going to learn the way to:
correctly deal with concurrency with parallel collections and Akka actors
Create expressive readable code with price sessions and stronger implicit conversions
Create strings from facts without sweat utilizing string interpolation
Create domain-specific languages
* Optimize your recursions with tail name optimization
Whether you are drawn to developing concise, powerful single-threaded functions or hugely expressive, thread-safe concurrent courses, this ebook has you covered.
What You Need:
The Scala compiler (2.x) and the JDK are required to use the ideas and the examples during this book.