
Beginning Scala 3
A Functional and Object-Oriented Java Language
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Beginning Scala 3
A Functional and Object-Oriented Java Language
About this book
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.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Cover
- Front Matter
- 1. Getting Started with Scala
- 2. Basics of Scala
- 3. Object-Oriented Modeling
- 4. Functional Programming
- 5. Pattern Matching
- 6. Scala Collections
- 7. Traits and Enums
- 8. Scala Type System
- 9. Scala and Java Interoperability
- 10. DSL and Parser Combinator
- 11. Simple Build Tool
- 12. Creating Web Applications
- 13. Testing Your Code
- 14. Scala Best Practices
- Back Matter