On Monday, 24 March 2014 at 01:28:02 UTC, Kenji Hara wrote:
    if (cond) exp1, exp2;   // in most case, this is not a bug.

I fail to see how is this useful. It looks way harder to comprehend, because first you have to recognize a comma operator has been used (rare), and then you have to understand why it was used (and it's always avoidable).

If using C++, such a code would trigger a static analyzer warning.

Reply via email to