On 2012-01-18 21:26, Nick Sabalausky wrote:
"Jacob Carlborg"<d...@me.com> wrote in message
news:jf6e7a$1929$1...@digitalmars.com...
method:
no parameters - parentheses are optional
FWIW, I always do a double-take when I see code like:
functionName;
//or
object.functionName;
It sets off all mannar of "no-effect expression!" bells and buzzers in my
head every time I look at it, which I then have to silence.
It's even more fun in Ruby which doesn't require semicolons :) Just:
functionName
--
/Jacob Carlborg