Obsolesence of <> (fwd)

Remco Gerlich scarblac at pino.selwerd.nl
Fri Jun 1 01:59:35 EDT 2001


Lulu of the Lotus-Eaters <mertz at gnosis.cx> wrote in comp.lang.python:
> It is very easy to read it as "is less than or greater than" on the
> analogy of ">=" reading "is greater than or equal to."  Since all Python
> values can be compared,

Alas, not anymore (complex numbers can't be compared).

I checked some old code, and it seems I used != about as much as <> then. I
used to program in Pascal and Java. Apparently I never thought about what to
type, it just worked... that's a good thing :)

Nowadays I seem to use != exclusively.

-- 
Remco Gerlich



More information about the Python-list mailing list