With equals sign:
object HelloWorld { def main(args: Array[String]) = { println(\"Hello!\") } }
Without equals sign:
One thing : imagine the last statement of a method that should return Unit does not return Unit. Using the non-equal syntax is then very convenient, I hope this will not be deprecated as I see several use case for it