If scala methods belong to classes, how come can one create a method outside of a class?
As in:
def hello(a:String) {println(s"Hello $a")}
What class does this method belong to?
And why is there such a concept (method outside of class) at all? My first impression is that it generates a lot of confusion, since it is redundant (you can already have "normal" functions).