for loop parens

bearophile bearophileHUGS at lycos.com
Fri Jul 12 12:44:41 PDT 2013


ixid:

> Go and Rust seem to have been able to dispense with the parens 
> in for loops, is this something that would be possible to do in 
> D or are there parsing and grammatical reasons not to do this?

Go has chosen a different syntax. I don't think D syntax of for 
loops can change now...

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list