Chained comparison evaluation order

The evaluation order is undefined and could be changed. You should probably not be counting on side effects from expressions in comparison chains. IIRC, @jeff.bezanson did it this way because it could be implemented slightly more efficiently/easily. That said, I would support making the evaluation order defined and guaranteed left-to-right.

1 Like