Scala is a very popular programming language that combines Object Oriented and Functional Programming paradigms. Generally, Scala files get compiled into Java class files and run on top of the JVM.
Recently, Scala has expanded into Javascript runtime using ScalaJS and LLVM runtime based on Java Native.
In this series, we will discuss the basics of the Scala language, to help you get started with your first Scala program.
Basics
- Introduction to Scala
- Main Features of the Scala Language
- Introduction to Scala REPL
- Guide to Scaladoc
- Guide to Annotations in Scala
- Introduction to Dotty and Scala 3
- Mutability in Scala
- Def, Var & Val in Scala
- Scala Conditional Expressions
- For Loops in Scala
- Guide to lazy val in Scala
- The return Keyword in Scala
- Break Statement in Scala
- Introduction to Scala Operators
- Main Methods in Scala 3
Types
Scala OOP
- Object Oriented Programming in Scala
- Guide to Inheritance in Scala
- Classes and Objects in Scala
- Scala Traits vs. Abstract Classes
- By-Value and By-Name Parameters in Scala
- Difference Between Class and Case Class in Scala
- Named and Default Arguments in Scala
- Creating Singletons in Scala
- Companion Objects in Scala
- Class Composition with Mixins
- Polymorphism in Scala
- Access Modifiers in Scala
- Packaging, Importing and Package Objects in Scala