Postfix operators are methods that take no arguments, when they are
invoked without a dot or parentheses.
If you want to change selection, open document below and click on "Move attachment"
Basic Types and Operations identifiers that can be used as prefix
operators. You could invoke the method normally, as in p.unary_*, but if you attempted to invoke it via *p, Scala will
parse it as if you'd written *.p, which is probably not what you had in mind![4]
<span>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 of
Summary
status
not read
reprioritisations
last reprioritisation on
suggested re-reading day
started reading on
finished reading on
Details
Discussion
Do you want to join discussion? Click here to log in or create user.