Can someone explain to me why Scala was designed to have var/val/def for variable annotations? All of the following are valid ways to declare a variable:
def a = 1
val b = 1
var c = 1
I know the difference between them. But why was it designed that way? Is it really necessary to have this type of confusion?