Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Rust for C++ programmers – part 3: primitive types and operators. Parent comment
Yep. That's one of the things they changed/fixed in Python 3, comparisons are not defined across and between any and all types:
>>> "foo" > 3 Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unorderable types: str() > int()
There are no comments on this comment yet.
Yep. That's one of the things they changed/fixed in Python 3, comparisons are not defined across and between any and all types: