On Fri, 12 Nov 2010 12:09:15 -0500, Russel Winder <[email protected]> wrote:

On Fri, 2010-11-12 at 11:59 -0500, Steven Schveighoffer wrote:
[ . . . ]

if(x)
{
    g(x)
}

is interpreted as this:

if(x);
{
    g(x);
}

Absolutely, 100% wrong decision.  Go will never recover from that IMO.

Possibly but the formatting standard of Go *requires*:

if ( x ) {
    g ( x )
}

anyway, so as Sean said this is a moot point -- assuming that is what
"bike shedding" means.

If that is invalid code, then I stand corrected. If it compiles, then it's a serious flaw that is inexcusable.

-Steve

Reply via email to