Archive | July 11th, 2012

Functions as First Class Citizens in Scala

July 11, 2012

1 Comment

In Java (Java 7 and before) we can store an object reference in a variable or some primitive value in which case Classes and Primitive types are the first class citizens there, but in Scala we can assign method/function definitions to variables, we can pass around function definitions to other functions and we can even [...]

email