One year of Go

Steven Schveighoffer schveiguy at yahoo.com
Fri Nov 12 10:06:33 PST 2010


On Fri, 12 Nov 2010 12:09:15 -0500, Russel Winder <russel at russel.org.uk>  
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


More information about the Digitalmars-d mailing list