Methods with a result type of
Unit
are only executed for their
side effects
. The convention is that you include parentheses if the method has side effects.
* Refer to Programming in Scala, 5.3 Operators are methods