1.

Record Nr.

UNINA9910522951403321

Autore

Pollak David

Titolo

Beginning Scala 3 : a functional and object-oriented Java language / / David Pollak, Vishal Layka, Andres Sacco

Pubbl/distr/stampa

New York : , : Apress, , [2022]

©2022

ISBN

1-5231-5096-3

1-4842-7422-9

Edizione

[3rd ed.]

Descrizione fisica

1 online resource (332 pages)

Disciplina

005.114

Soggetti

Scala (Computer program language)

Computer programming

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

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 Our Code -- 14. Scala Best Practices.

Sommario/riassunto

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. You will: 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.