News for hackers. Stuff that matters.
Re:Why C++ sucks (2016 edition) by masklinn on Monday February 22, 2016 @03:52AM (#11149478)
> Is it an odd-but-valid C comparison? (a is less than b and b is greater than c)

That's not the C comparison, that's a Python chained comparison. A C comparison will parse this as `(a < b) > c`, and you'll get false for a=3, b=5 and c=1.

There are no comments on this comment yet.