for loop parens

ixid nuaccount at gmail.com
Fri Jul 12 13:38:38 PDT 2013


On Friday, 12 July 2013 at 20:30:59 UTC, bearophile wrote:
> ixid:
>
>> Similarly what are D user's potential issues with Go-like 
>> semi-colon rules? And would this be possible as a subset of 
>> current D code?
>
> Such changes will not happen even in D4. Walter is strongly 
> against the idea of optional semicolons, on the base that 
> semicolons help the parser, so they allow better error recovery 
> and error messages.
>
> Bye,
> bearophile

Is there any evidence that these are issues in Go? That sounds 
like a theoretical objection that isn't attackable when no one 
has done it but turns out not to be terribly important when 
someone actually does it.


More information about the Digitalmars-d-learn mailing list