Basics of programming using Scala

What is Scala?

  • Scala is JVM based functional programming language.

Why Scala?

  • Even though Scala is there for more than a decade (founded in 2000), it have gained lot of momentum with Spark.
  • Spark is completely developed using Scala
  • On top of Spark (used for data processing), Scala also have frameworks such as Play to develop web applications

Syllabus

  • Brief history of Scala
  • REPL or CLI
  • Declaring Variables
  • Basic programming constructs
  • Functions
  • Object Oriented Concepts – Classes, Objects, Companion Classes, Case Classes
  • Collections
    • List
    • Set
    • Array
    • and others
  • Tuples

There are many other important topics which are out of the scope for CCA Spark and Hadoop Developer or any Spark based courses for now

  • Traits
  • Pattern Matching
  • Closures
  • many more

Before getting into the details of course, make sure to setup the environment for Scala as well as Spark using IntelliJ as IDE.

Setup Spark Development Environment – IntelliJ and Scala

Class Videos