December 3, 2025

Scala Programming Table of Content

Scala – Introduction to Scala Programming

This would be the first in the series of interesting tutorial on Scala Programming. In this lesson, you'll learn about ...

Scala – IDE Installation and Setup

In this tutorial, I will show you 3 ways of installing and setting up Scala in your computer. Setup Scala ...

Scala – Your First Program

In this lesson you will write your first program in Scala. I would also explain to you the basic syntax ...

Scala – Basic Program Syntax

In the previous part (Your First Scala Program), we wrote and ran a simple Scala program. In this part, we ...

Scala – Data Types

Since Scala has some similarity with Java, it is no surprise that it has the same data types as in ...

Scala – Variables

In this lesson, we would learn about variables in Scala. Variables in Scala have the same meaning as in Java: ...

Scala – Classes and Objects

In this lesson, we would be learning about Object Oriented Programming(OOP) concepts in Scala. A Class is a template or ...

Scala – Access Modifiers

In this lesson we would be covering the three access modifiers in Scala. They are private, protected and default. For ...

Scala – Operators

In this lesson, you will learn about the operators in Scala. An operator is a symbol that is used to ...

Scala – Conditional Statements

In this chapter, you will learn how to use conditional statements. We would cover the following conditional statements: if Statement ...

Scala – Loops

In this lesson we would learn how to work with loops in Scala. A loop allows you to execute a ...

Scala – Functions

In this lesson, you will learn how functions work and how to write and call functions in Scala. A function ...

Scala – More on Functions

In this lesson, we would be covering function call by-value parameters. We would cover the following: Function Call by Name ...

Scala – Yet More Functions!

In this lesson, we would complete our discussion functions. You will learn the following Anonymous Functions Partially Applied Functions Higher-Order ...

Scala – Closure

A closure in Scala is a function and the concept of closure is quite clear. However I have decided to ...

Scala – String Manipulation

In this lesson, you will learn about how to manipulate strings in Scala. Strings in Scala just like in Java ...

Scala – Working with Arrays

In this lesson, you will learn how to us arrays in Scala. Array in Scala works similar to arrays in ...

Scala – Traits

Similar to an interface, a trait in Scala is a collection of abstract and non-abstract methods. A trait can be ...

Scala – Json Encoding With Circe

In this tutorial series, you will learn how to build an encoder to encode Scala types into Json representations. We'll ...

Scala – Build Json Encoder With Circe

In the preceding tutorial, we explained how Json Decoding with Circe works in Scala. We also learnt how to create ...

Scala – Building Json Decoders With Circe

In the previous two tutorials, we covers how to build Json encoders in Scala using Circe. You can review them ...

Scala – Automatic Derivation of Encoders and Decoders

In the previous two tutorials, we learnt how to build encoders and decoders. We used the forProductN(applicative-based decoders) and for ...

Scala – Parsing and Decoding Json with Circe

In this tutorial, you will learn how to parse JSon literals into Circe Json and then use a Decoder to ...

Scala – Algebraic Data Types (ADT)

In this tutorial, you will learn about the very important concept of Algebraic Data Types (ADT) in Scala. Let's begin ...

Scala – Pattern Matching

Pattern matching allows you to check a value against a given pattern. It is similar to Java and C++ switch ...