(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“Postfix operators are methods that take no arguments, when they are invoked without a dot or parentheses. In Scala, you can leave off empty parentheses on method calls. The convention is that you include parentheses if the method has side effects, such as println(), but you can leave them off if the method has no side effects, such as toLowerCase invoked on a String:”

Martin Odersky, Programming in Scala
Read more quotes from Martin Odersky


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Programming in Scala Programming in Scala by Martin Odersky
1,663 ratings, average rating, 100 reviews

Browse By Tag