Chapter 2: Learning Scala Fundamentals

By Nadim Bahadoor | Last updated: February 17, 2020 at 9:32 am

In this section, we will go over the basic foundation of the Scala programming language. Throughout the tutorials we will use the popular IntelliJ IDEA which we've setup in Chapter 1. I hope that by now you are more comfortable using IntelliJ. If not, feel free to review the previous tutorials from Chapter 1!

 

In this chapter, we will provide tutorials on the topics below. If none of these make any sense right now, that's OK :)

  • Variables in Scala
  • String interpolation
  • Scala type inference
  • If and else statements
  • Loops and ranges
  • Pattern matching
  • Tuples
  • Using Option instead of null
  • Scala type hierarchy
  • Enumerations

So let's get started!

Nadim Bahadoor on FacebookNadim Bahadoor on GithubNadim Bahadoor on LinkedinNadim Bahadoor on Twitter
Nadim Bahadoor
Technology and Finance Consultant with over 14 years of hands-on experience building large scale systems in the Financial (Electronic Trading Platforms), Risk, Insurance and Life Science sectors. I am self-driven and passionate about Finance, Distributed Systems, Functional Programming, Big Data, Semantic Data (Graph) and Machine Learning.