What the difference between the two defs below
def
def someFun(x:String) { x.length }
AND
def someFun(x:String) = {
As per Scala-2.10, using equals sign is preferred. Infact you must use equals sign in call declarations except the definitions returning Unit.
As such there is no difference but the first one is not recommended anymore and it should not be used.