Kenji Hara:

1. I think removing comma operator does not have useful effect for tuple syntax discussion.

I agree, see my recent answer to Andrei.


2. Indeed in some case comma operator is bug-prone, but if it is used directly on the ExpStatement, it's still useful to me.

    foreach (e; exp1, exp2) {}   // maybe bug?

If I see a foreach like that, I refactor the code to remove the comma. Apparently I am not very good at keeping the semantics of the comma operator in my head, so I prefer to kill them in the code I work on.

Bye,
bearophile

Reply via email to