What is the difference and advantage of using those two ways of writing a function (and how the first way of writing a function is called):
def do_something(a:String, b:String)(c:String) :Unit = {}
and
def do_something(a:String, b:String, c:String) :Unit = {}