...

/

A Featurette: Scala Features

A Featurette: Scala Features

In the following lesson, you will be introduced to some of Scala's main features.

1. Type Inference

Type inference is Scala’s ability to infer types without them being explicitly mentioned. The language is smart enough to deduce data types based on the context in which the object has been written.

2. Immutability

Immutability is the quality of being unchangeable. In Scala, variables are immutable by default; once assigned a value they cannot be modified by you or any other programmer. This might ...