Authors:
- One of the first tutorials on Scala 3 programming language
- Covers functional programming with this Java-based scripting language
- Download source code at https://github.com/Apress/beg-scala3
Buy it now
Buying options
Tax calculation will be finalised at checkout
Other ways to access
This is a preview of subscription content, log in via an institution to check for access.
Table of contents (14 chapters)
-
Front Matter
-
Back Matter
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.
Authors and Affiliations
-
San Francisco, USA
David Pollak
-
Bruxelles, Belgium
Vishal Layka
-
Ciudad Autonoma de Buenos Aires, Argentina
Andres Sacco
About the authors
Vishal Layka is the chief technology officer of Star Protocol. He is involved in the architecture, design, and implementation of distributed business systems, and his focus is on consulting and training with the JVM languages. Hislanguage proficiencies include Java, Groovy, Scala, and Haskell. Vishal is also the lead author of Beginning Groovy, Grails, and Griffon (Apress, 2012). When he needs a break from technology, Vishal reads eclectically from calculus to star formation.
Andres Sacco has been a professional developer since 2007, working with a variety of languages, including Java, Scala, PHP, NodeJs, and Kotlin. Most of his background is in Java and the libraries or frameworks associated with it, but since 2016, he has utilized Scala as well, depending on the situation. He is focused on researching new technologies to improve the performance, stability, and quality of the applications he develops.
Bibliographic Information
Book Title: Beginning Scala 3
Book Subtitle: A Functional and Object-Oriented Java Language
Authors: David Pollak, Vishal Layka, Andres Sacco
DOI: https://doi.org/10.1007/978-1-4842-7422-4
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: David Pollak, Vishal Layka, and Andres Sacco 2022
Softcover ISBN: 978-1-4842-7421-7Published: 26 January 2022
eBook ISBN: 978-1-4842-7422-4Published: 25 January 2022
Edition Number: 3
Number of Pages: XXII, 321
Number of Illustrations: 34 b/w illustrations
Topics: Professional Computing, Java, Software Engineering/Programming and Operating Systems, Computer Science, general