Scala Cookbook: Recipes for Object-Oriented and Functional Programming


Price:
Sale price$69.99

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 structures
  • Classes, methods, objects, traits, packaging, and imports
  • Functional programming techniques
  • Scala's wealth of collections classes and methods
  • Building and publishing Scala applications with sbt
  • Actors and concurrency with Scala Future and Akka Typed
  • Popular libraries, including Spark, Scala.js, Play Framework, and GraalVM
  • Types, such as variance, givens, intersections, and unions
  • Best practices, including pattern matching, modules, and functional error handling


Author: Alvin Alexander
Publisher: O'Reilly Media
Published: 08/31/2021
Pages: 802
Binding Type: Paperback
Weight: 2.76lbs
Size: 9.19h x 7.00w x 1.59d
ISBN13: 9781492051541
ISBN10: 1492051543
BISAC Categories:
- Computers | Languages | Java
- Computers | Programming | Object Oriented
- Computers | Internet | Web Programming

About the Author

Alvin Alexander took the circuitous route to software development. He managed to get a degree in Aerospace Engineering from Texas A&M University while all he wanted to do was play baseball. Once he became a practicing engineer he was volunteered to maintain the company's software applications, and quickly realized he liked it. As a result he ended up teaching himself Fortran, C, Unix and network administration, Perl, Java, Python, Ruby, Scala, and Kotlin. During this process he started a software consulting firm, grew it to fifteen people, sold it, and moved to Alaska. After returning to the "Lower 48" he self-published two books, How I Sold My Business: A Personal Diary, and A Survival Guide for New Consultants. Since then he has written three more books: Scala Cookbook; Functional Programming, Simplified; and Hello, Scala.