Learning Scala

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 language (In JVM languages the source code is compiled into Java byte code). Scala is ‘Object Oriented’ as well as ‘Functional’ programming language.

It also works in combination with Java where Java can use Scala objects and Scala can used Java’s. The features like currying, immutable collections, auxiliary constructors are really awesome.
Scala is a popular choice for Domain Specific Programming.

In the series, I am covering some of the really basic and interesting features of Scala. I am sure, you will love them

Scala is one of the most popular JVM languages available today. It has been designed to scale to the future requirements and hence named as a Scalable Language (Scala). Scala is not only a fully Object Oriented Language but also a fully Functional Language. For a regular Java Programer the Scala language syntax might look magical and very concise. In this series of Online Scala Tutorials we will walk through various Scala features.

Welcome to the second part of Scala Language Online Tutorials Series. Last post, we gone through basic introduction to Scala language. In this post we are going to look at few more interesting 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 can we declare a variable or a value. Function declaration in Scala is very much similar to variables.

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 instance and the way to define the constructors. The Scala constructor has some interesting properties that might seem little strange for a regular Java programmer. Scala constructors come in two different flavours : Primary Constructors and Auxiliary Constructors. Let’s have a look at them here.