Learn the latest version of Scala through simple, practical examples.
This book introduces you to the Scala programming language, its
object-oriented and functional programming characteristics, and then
guides you through Scala constructs and libraries that allow you to
assemble small components into high-performance, scalable systems.
Beginning Scala 3 explores new Scala 3 language features such as
Top-level declarations, Creator applications, Extension methods to add
extra functionality to existing types, and Enums. You will also learn
new ways to manipulate types via Union types, intersection, literal, and
opaque type aliases. Additionally, you'll see how Implicits are replaced
by given and using clauses.
After reading this book, you will understand why Scala is judiciously
used for critical business applications by leading companies such as
Twitter, LinkedIn, Foursquare, the Guardian, Morgan Stanley, Credit
Suisse, UBS, and HSBC - and you will be able to use it in your own
projects.
What You Will Learn
- Get started with Scala 3 or Scala language programming in general
- Understand how to utilitze OOP in Scala
- Perform functional programming in Scala
- Master the use of Scala collections, traits and implicits
- Leverage Java and Scala interopability
- Employ Scala for DSL programming
- Use patterns and best practices in Scala
Who This Book Is For
Those with a background in Java and/or Kotlin who are new to Scala. This
book is also for those with some prior Scala experience who want to
learn Scala version 3.