Brain Dump

Languages

Scala

Updated at: 04 Aug 2019 13:52:42

Why Scala

Runs on JVM. Statically typed.

Object orientated

Functional

Features

Type inference

Functional capabilities reduces the number of lines of code

Getters and setters

Value versus variable

val does not allow reassignment. var allows reassignment

Object Orientated

Every value is an object.

Every operation is a method call.

Class inheritance

Additional features

Case classes to do pattern matching

Multivariable assignment