On Tuesday, 4 December 2012 at 16:24:27 UTC, Minas Mina wrote:
Isn't it possible to have parentheses optional only for UFCS?

E.g.

Allow:
I 5.writeln

Dissallow:

void f()
{
        writeln("hi");
}

f; // this currently works


I don't know if this is possible to implement.


module main;

void f()
{
        writeln("hi");
}

main.f; // OK or not?

I think the argument for vs against is simply a coding style
issue, some like dropping empty braces, some do not.

--rt

Reply via email to