Welcome to the Learning Scala Tutorials on amitph.com. This section is for the Scala newbies who want to learn more about it.
It is one of the most popular JVM languages (In JVM languages, the source code is compiled into Java byte code). Scala is an ‘Object Oriented’ and ‘Functional’ programming language.
It also works in combination with Java, where Java can use Scala objects, and Scala can use Java objects. The features like currying, immutable collections, auxiliary constructors are fantastic.
Scala is a popular choice for Domain-Specific Programming.
We cover some of Scala’s fundamental and exciting features in the series. We are sure you will love them.
Introduction to Scala Language
Scala is one of the most popular JVM languages available today. It has been designed to scale to the future requirements and hence named a Scalable Language (Scala). Scala is not only a fully Object-Oriented Language but also a fully Functional Language. The Scala language syntax might look magical and very concise for a regular Java programmer. In this series of Online Scala Tutorials, we will walk through various Scala features.
Introduction to Scala Functions
Welcome to the second part of the Scala Language Online Tutorials Series. We went through a basic introduction to Scala language in the last post. In this post, we will look at a few more exciting features of Scala Language. We will start with Scala Functions and have to look at how do we write and call Functions in Scala. In the last post, we have seen how we can declare a variable or a value. Function declaration in Scala is very much similar to variables.
Scala Classes & Constructors
In this post of The Online Scala Tutorial Series, we will be talking about Scala Classes and Scala constructors. We will see the way we can create Scala class instances and the way to define the constructors. The Scala constructor has interesting properties that might seem strange for a regular Java programmer. Scala constructors come in two different flavors: Primary Constructors and Auxiliary Constructors. Let’s have a look at them here.