"!=" is bad form. Re: sorry....never mind
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Thu Mar 8 11:20:53 EST 2001
Wed, 07 Mar 2001 22:10:27 -0800, James Logajan <JamesL at Lugoj.Com> pisze:
> The operations "<", ">", "<=", ">=", "==", "<>" form a nice
> consistent and predictable set.
Except "==". Using "=" instead would be consistent.
PS. Lisp, Ada, Eiffel and Haskell use "/=" for inequality. Icon uses
"~=" for numbers and "~==" for strings. Simula uses NE for value
inequality and "=/=" for identity inequality. OCaml uses "=" and "<>"
for value (in)equality, and "==" and "!=" for identity (in)equality.
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list