Unit
as any other type and to write it explicitly in method declarations.
Unit
result type annotation is redundant:
// excessive clutter
def foo(): Unit
// concise form
def foo()
* Refer to Programming in Scala, 2.3 Define some functions