One year of Go

Sean Kelly sean at invisibleduck.org
Fri Nov 12 15:17:47 PST 2010


bearophile Wrote:

> Andrei:
> 
> > So Sean was right - it _did_ take him five minutes to find a fatal flaw.
> 
> You are right. But in this case the language may just disallow empty bodies for if(), for(), etc.

Making the current broken behavior an error would be trivial and wouldn't break any existing Go programs.  That's why it seems so weird to me that this behavior was documented instead of simply fixed, and why I imagine it will be fixed at some point regardless.


More information about the Digitalmars-d mailing list