F i L:

This is exactly why I think the '{}' brackets "should" be a requirement and not the '()' brackets:

    if a == b { doSomething(); }

    if a == b
        { doSomething(); }

    if a == b
    {
        doSomething();
        doSomethingElse();
    }

I know this will never happen in D, but it's how it should be, IMO.

This is what Go designers think.

Bye,
bearophile

Reply via email to