Saturday, September 19, 2015

Off to Scala

Scala compiler produces bytecode that can run on JVM. The language Scala is an improvement on JAVA and is a functional as well as Object Oriented programming language.

It has 
 - support for pure functions and higher order functions.
 - Type inference - the ability to infer types from expressions.

 - evaluation of expressions without semi-colons.

NOTE: An expression is a very important part of a language - and is the part which evaluates itself to return a value.

The syntax looks a lot like Python and Ruby. Some features include:
 - everything is an object, including the primitive types
 - infix mode of called methods
 - no interfaces but trials