Comma expressions must die [Was: Reddit: why aren't people using D?]

Jarrett Billingsley jarrett.billingsley at gmail.com
Thu Jul 23 17:37:37 PDT 2009


On Thu, Jul 23, 2009 at 6:10 PM, Adam D. Ruppe<destructionator at gmail.com> wrote:
>
> What do you propose we do about the commas in loops? Breaking them
> would be a pretty big change to the C folks.

It's trivial to allow a comma-separated list of expressions in the for
loop header.  If Pythonic tuple syntax were used (i.e. parens
required), there would be no parsing ambiguity.



More information about the Digitalmars-d mailing list