Learn how to leverage the full functional support provided by Scala, a general-purpose programming language with a strong static type system. Get started programming in Scala.
Overview
Syllabus
Introduction
- Welcome to Scala essential training
- What you should know before watching
- How to use the exercise files
- Challenges explained
- Learn about Scala
- How to install Scala
- How can Scala integrate with IDEs
- What does Scala syntax look like
- What is a Scala worksheet?
- What is a Scala repl session?
- Challenge: Worksheet
- Solution: Worksheet
- What is type inference
- How to create variables in Scala
- What is the syntax for loops in Scala
- How to define functions in Scala
- What are higher-order functions in Scala?
- Scala operators
- Decision statements in Scala
- Challenge: Payroll
- Solution: Payroll
- How to read from the console in Scala
- How to read files in Scala
- Handle exceptions using try or catch
- Pattern matching
- Sets in Scala
- How to create maps in Scala
- What are tuples?
- How to use arrays in Scala
- Scala lists
- Challenge: Arrays
- Solution: Arrays
- Classes, fields, and methods
- Singleton objects
- Case classes
- Challenge: Bank account
- Solution: Bank account
- Next steps
Taught by
Peggy Fisher