Why non- at property functions don't need parentheses

%u wfunction at hotmail.com
Sun Feb 6 20:38:29 PST 2011


Hi,

I was wondering, why are we allowed to omit parentheses when calling functions
with no arguments, when they are not @properties? Is there a good reason for
relaxing the language rules like this?

Thanks!


More information about the Digitalmars-d-learn mailing list