Preview "Scala Cookbook (2nd ed.)" in a new window.

Scala Cookbook (2nd ed.)

Book Description

Save time and trouble building object-oriented, functional, and concurrent applications with Scala. The latest edition of this comprehensive cookbook is packed with more than 250 ready-to-use recipes and 1,000 code examples to help you solve the most common problems when working with Scala 3 and its popular libraries.

Scala changes the way you think about programming--and that's a good thing. Whether you're working on web, big data, or distributed applications, this cookbook provides recipes based on real-world scenarios for both experienced Scala developers and programmers just learning to use this JVM language. Author Alvin Alexander includes practical solutions from his experience using Scala for component-based, highly scalable applications that support concurrency and distribution.

Recipes cover:

Strings, numbers, and control structuresClasses, methods, objects, traits, packaging, and importsFunctional programming techniquesScala's wealth of collections classes and methodsBuilding and publishing Scala applications with sbtActors and concurrency with Scala Future and Akka TypedPopular libraries, including Spark, Scala.js, Play Framework, and GraalVMTypes, such as variance, givens, intersections, and unionsBest practices, including pattern matching, modules, and functional error handling


In The Press


About the Author


Read on Your Favourite Devices

to find out more



Ebook Permissions

to find out more

About this Ebook

File formats
This ebook is available in:
The publisher has not yet supplied format information.
Pre-order formats shown are based on publisher intent and may change before release.
File sizes shown are an approximation. The actual download size will vary based on the application you use to read the book.
Publisher
Published
; Copyright:
ISBNs
Title
Series
Author
;
Edition
Imprint
Language
Number of Pages
Page count shown is an approximation provided by the publisher. The actual page count will vary based on various factors such as your device's screen size and font-size.