Introduction to Scala

Learning Objectives – In this module, you will understand basic concepts of Scala,

motives towards learning a new language and get your set-up ready.

  • Why Scala?
  • What is Scala?
  • Introducing Scala
  • Installing Scala
  • Journey – Java to Scala
  • First Dive – Interactive Scala
  • Writing Scala Scripts – Compiling Scala Programs
  • Scala Basics
  • Scala Basic Types
  • Defining Functions
  • IDE for Scala, Scala Community

Module 2 :

Scala Essentials

Learning Objectives – In this module, you will learn essentials of Scala that are

needed to work on it.

  • Immutability in Scala – Semicolons
  • Method Declaration, Literals
  • Lists
  • Tuples
  • Options
  • Maps
  • Reserved Words
  • Operators
  • Precedence Rules
  • If statements
  • Scala For Comprehensions
  • While Loops
  • Do-While Loops
  • Conditional Operators
  • Pattern Matching
  • Enumerations

Module 3 :

Traits and OOPs in Scala

Learning Objectives – In this module, you will understand implementation of OOPs

concepts in Scala and use Traits as Mixins

  • Traits Intro – Traits as Mixins
  • Stackable Traits
  • Creating Traits Basic OOPS – Class and Object Basics
  • Scala Constructors
  • Nested Classes
  • Visibility Rules

Module 4 :

Functional Programming in Scala

Learning Objectives – In this module, you will understand functional programming

know how for Scala.

  • What is Functional Programming?
  • Functional Literals and Closures
  • Recursion
  • Tail Calls
  • Functional Data Structures
  • Implicit Function Parameters
  • Call by NameCall by Value