© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
D. Pollak et al.Beginning Scala 3https://doi.org/10.1007/978-1-4842-7422-4_2

2. Basics of Scala

David Pollak1  , Vishal Layka2 and Andres Sacco3
(1)
San Francisco, CA, USA
(2)
Bruxelles, Belgium
(3)
Ciudad Autonoma de Buenos Aires, Argentina
 

Scala offers the chance to combine different paradigms with a lot of incredible features. Some of these features are new to Scala 3, which removes the complexity of common operations. But before going deeply into these features, you need to know the basics of the language.

Over the course of this chapter, you will learn:
  • How to define and use different types of variables

  • How to use each of the control structures

  • How to declare ...

Get Beginning Scala 3: A Functional and Object-Oriented Java Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.