I'm reading the book programming in scala, and it is said :
... in this case , its side effect is printing to the standard output stream.
and I don't see where is the side effect, since, for the same input, println will print the same output (I think )
UPDATE
for example any time we call :
println(5)
it will print 5, I don't see a case where calling println(5)
will print a value other than 5 !!