@property (again)

deadalnix deadalnix at gmail.com
Thu Nov 21 23:01:39 PST 2013


On Friday, 22 November 2013 at 04:33:56 UTC, Kenji Hara wrote:
> After removing 'function' concept, 'func' always means function 
> pointer or
> delegate. So we cannot call functions without parenthesis 
> anymore. It is
> unacceptable change to me, and many D programmers would 
> probably argue same
> thing.
>

It removes all ambiguities.

Optional parentheses are still an option when they aren't 
ambiguous.

void foo() {}

foo; // Can still call foo if we want to.


More information about the Digitalmars-d mailing list