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.

Reply via email to